Pagini recente » Rating Adi Bass (doizece) | Borderou de evaluare (job #2064062) | Borderou de evaluare (job #141708) | Borderou de evaluare (job #2104383)
Borderou de evaluare (job #2104383)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[s[i]] = i;
^
user.cpp:58:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr += val[x[j]] * p12;
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
user.cpp:48:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p, &n);//cin >> p >> n;
^
user.cpp:49:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:54:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 768kb | OK | 5 |
| 2 | 0ms | 1392kb | OK | 5 |
| 3 | 8ms | 1404kb | OK | 5 |
| 4 | 20ms | 1400kb | OK | 5 |
| 5 | 40ms | 1404kb | OK | 5 |
| 6 | 68ms | 1400kb | OK | 5 |
| 7 | 180ms | 760kb | OK | 5 |
| 8 | 184ms | 1404kb | OK | 5 |
| 9 | 184ms | 1408kb | OK | 5 |
| 10 | 188ms | 1416kb | OK | 5 |
| 11 | 192ms | 1412kb | OK | 5 |
| 12 | 204ms | 1408kb | OK | 5 |
| 13 | 224ms | 1412kb | OK | 5 |
| 14 | 264ms | 1412kb | OK | 5 |
| 15 | 284ms | 1408kb | OK | 5 |
| 16 | Depăşit | 1400kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1400kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1400kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1396kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1396kb | Time limit exceeded. | 0 |
| Punctaj total | 75 |