Borderou de evaluare (job #1395243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000001]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:19:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (s[i] > s[i + 1] && i < strlen(s) - 1)
^
user.cpp:23:19: warning: NULL used in arithmetic [-Wpointer-arith]
if (s[i + 1] == NULL)
^
user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld %lld", &N, &X);
^
user.cpp:13:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 8ms | 256kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | Depăşit | 260kb | Time limit exceeded. | 0 |
7 | Depăşit | 296kb | Time limit exceeded. | 0 |
8 | Depăşit | 300kb | Time limit exceeded. | 0 |
9 | Depăşit | 304kb | Time limit exceeded. | 0 |
10 | Depăşit | 308kb | Time limit exceeded. | 0 |
11 | Depăşit | 332kb | Time limit exceeded. | 0 |
12 | Depăşit | 352kb | Time limit exceeded. | 0 |
13 | Depăşit | 468kb | Time limit exceeded. | 0 |
14 | Depăşit | 576kb | Time limit exceeded. | 0 |
15 | Depăşit | 684kb | Time limit exceeded. | 0 |
16 | Depăşit | 788kb | Time limit exceeded. | 0 |
17 | Depăşit | 1220kb | Time limit exceeded. | 0 |
18 | Depăşit | 1224kb | Time limit exceeded. | 0 |
19 | Depăşit | 1224kb | Time limit exceeded. | 0 |
20 | Depăşit | 1224kb | Time limit exceeded. | 0 |
Punctaj total | 0 |