Pagini recente » Borderou de evaluare (job #2038265) | Borderou de evaluare (job #682381) | Borderou de evaluare (job #1353192) | Borderou de evaluare (job #474484) | Borderou de evaluare (job #2617788)
Borderou de evaluare (job #2617788)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
main.cpp:21:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
main.cpp:23:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
main.cpp:30:39: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, MAX_N, stdin);
^
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:30:39:
/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 | 131kb | OK | 10 |
2 | 7ms | 131kb | OK | 10 |
3 | 17ms | 131kb | OK | 10 |
4 | 83ms | 131kb | OK | 10 |
5 | 99ms | 262kb | OK | 10 |
6 | 197ms | 131kb | OK | 10 |
7 | 209ms | 131kb | OK | 10 |
8 | 361ms | 131kb | OK | 10 |
9 | 286ms | 131kb | OK | 10 |
10 | 276ms | 131kb | OK | 10 |
Punctaj total | 100 |