Borderou de evaluare (job #1389861)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100005]’ [-Wformat=]
fscanf(f,"%s",&x);
^
user.cpp:57:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(g,"%d\n",A);
^
user.cpp:35:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:36:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 5 |
2 | 0ms | 292kb | OK | 5 |
3 | 0ms | 348kb | OK | 5 |
4 | 0ms | 364kb | OK | 5 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 264kb | OK | 5 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 268kb | Incorect | 0 |
10 | 0ms | 272kb | OK | 5 |
11 | 0ms | 292kb | OK | 5 |
12 | 0ms | 304kb | Incorect | 0 |
13 | 0ms | 304kb | Incorect | 0 |
14 | 4ms | 316kb | Incorect | 0 |
15 | 4ms | 328kb | Incorect | 0 |
16 | 4ms | 336kb | OK | 5 |
17 | 4ms | 348kb | Incorect | 0 |
18 | 8ms | 360kb | OK | 5 |
19 | 8ms | 368kb | Incorect | 0 |
20 | 8ms | 364kb | Incorect | 0 |
Punctaj total | 45 |