Borderou de evaluare (job #2417063)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:127:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&t);
^
main.cpp:130:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a + 1,NMAX + 5,f);
^
main.cpp:131:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(b + 1,NMAX + 5,f);
^
main.cpp:132:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c + 1,NMAX + 5,f);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:130:32:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:131:32:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:132:32:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Incorect | 0 |
| 2 | 3ms | 262kb | Corect | 5 |
| 3 | 3ms | 262kb | Corect | 5 |
| 4 | 9ms | 262kb | Corect | 5 |
| 5 | 12ms | 262kb | Corect | 5 |
| 6 | 9ms | 262kb | Corect | 5 |
| 7 | 12ms | 262kb | Corect | 5 |
| 8 | 14ms | 262kb | Incorect | 0 |
| 9 | 127ms | 917kb | Corect | 5 |
| 10 | 140ms | 786kb | Corect | 5 |
| 11 | 175ms | 1048kb | Corect | 5 |
| 12 | 162ms | 1048kb | Corect | 5 |
| 13 | 176ms | 1048kb | Corect | 5 |
| 14 | 200ms | 1835kb | Time limit exceeded | 0 |
| 15 | 200ms | 1835kb | Time limit exceeded | 0 |
| 16 | 200ms | 1835kb | Time limit exceeded | 0 |
| 17 | 200ms | 1835kb | Time limit exceeded | 0 |
| 18 | 200ms | 1835kb | Time limit exceeded | 0 |
| 19 | 200ms | 1572kb | Time limit exceeded | 0 |
| 20 | 200ms | 1966kb | Time limit exceeded | 0 |
| Punctaj total | 55 |