Pagini recente » Borderou de evaluare (job #6354) | Borderou de evaluare (job #3240887) | Borderou de evaluare (job #2935845) | Borderou de evaluare (job #2328067) | Borderou de evaluare (job #2582879)
Borderou de evaluare (job #2582879)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:107:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&t);
^
main.cpp:108:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s , DIMNR , fin);
^
main.cpp:129:36: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1 , DIMNR , fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:129:36:
/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 | 25ms | 12582kb | Incorect | 0 |
| 3 | 7ms | 1441kb | OK | 10 |
| 4 | 32ms | 13631kb | OK | 10 |
| 5 | 6ms | 1441kb | Incorect | 0 |
| 6 | 300ms | 109969kb | Time limit exceeded | 0 |
| 7 | 301ms | 12320kb | Time limit exceeded | 0 |
| 8 | 303ms | 60424kb | Time limit exceeded | 0 |
| 9 | 303ms | 114425kb | Time limit exceeded | 0 |
| 10 | 300ms | 120455kb | Time limit exceeded | 0 |
| Punctaj total | 20 |