Pagini recente » Borderou de evaluare (job #1467511) | Borderou de evaluare (job #1074901) | Borderou de evaluare (job #1467349) | Profil Luijika_programatorul | Borderou de evaluare (job #2334905)
Borderou de evaluare (job #2334905)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d\n",&n,&k);
^
main.cpp:41:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s+1,20000,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:41:26:
/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 | 69ms | 1572kb | OK | 10 |
| 2 | 87ms | 1572kb | OK | 10 |
| 3 | 70ms | 1572kb | OK | 10 |
| 4 | 14ms | 524kb | OK | 10 |
| 5 | 86ms | 1310kb | OK | 10 |
| 6 | 82ms | 1310kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 5ms | 262kb | OK | 10 |
| 9 | 5ms | 262kb | OK | 10 |
| 10 | 76ms | 1179kb | OK | 10 |
| Punctaj total | 100 |