Pagini recente » Borderou de evaluare (job #122129) | Borderou de evaluare (job #1625871) | Borderou de evaluare (job #120885) | Borderou de evaluare (job #901767) | Borderou de evaluare (job #1369014)
Borderou de evaluare (job #1369014)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:19:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[s[i]] = i + 1;
^
user.cpp:24:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:27:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[i] = v[i] * 100 + val[s[j]];
^
user.cpp:13:38: 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:14:40: 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:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &N);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 12ms | 460kb | OK | 5 |
| 4 | 28ms | 656kb | OK | 5 |
| 5 | 56ms | 1048kb | OK | 5 |
| 6 | 128ms | 1824kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 0ms | 264kb | OK | 5 |
| 9 | 0ms | 272kb | OK | 5 |
| 10 | 4ms | 284kb | OK | 5 |
| 11 | 8ms | 296kb | OK | 5 |
| 12 | 16ms | 340kb | OK | 5 |
| 13 | 36ms | 420kb | OK | 5 |
| 14 | 72ms | 572kb | OK | 5 |
| 15 | 96ms | 652kb | OK | 5 |
| 16 | 148ms | 848kb | OK | 5 |
| 17 | 188ms | 1040kb | OK | 5 |
| 18 | 236ms | 1232kb | OK | 5 |
| 19 | Depăşit | 1516kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1816kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |