Pagini recente » Cod sursa (job #1842825) | Borderou de evaluare (job #156306) | Monitorul de evaluare | Borderou de evaluare (job #2848978) | Borderou de evaluare (job #2394311)
Borderou de evaluare (job #2394311)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&t);
^
main.cpp:28:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (a+1,DIMN,fin);
^
main.cpp:30:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (b+1,DIMN,fin);
^
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:28:29:
/usr/include/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:30:29:
/usr/include/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 | 611ms | 1966kb | Incorect | 0 |
| 2 | 8ms | 1703kb | OK | 10 |
| 3 | 34ms | 1703kb | OK | 10 |
| 4 | 31ms | 1703kb | OK | 10 |
| 5 | 28ms | 1703kb | Incorect | 0 |
| 6 | 297ms | 1835kb | OK | 10 |
| 7 | 344ms | 1835kb | OK | 10 |
| 8 | 555ms | 1966kb | OK | 10 |
| 9 | 588ms | 1835kb | OK | 10 |
| 10 | 501ms | 1966kb | OK | 10 |
| Punctaj total | 80 |