Pagini recente » Borderou de evaluare (job #620721) | Borderou de evaluare (job #1041263) | Borderou de evaluare (job #1520062) | Borderou de evaluare (job #2338213) | Borderou de evaluare (job #1335878)
Borderou de evaluare (job #1335878)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < nxt[curr].size(); i++) {
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inFile, "r", stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outFile, "w", stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:25:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1, MAX_LEN, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:25:31:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 6148kb | Gresit. | 0 |
2 | 8ms | 6152kb | Gresit. | 0 |
3 | 8ms | 6148kb | Gresit. | 0 |
4 | 8ms | 6172kb | Gresit. | 0 |
5 | 56ms | 8180kb | Gresit. | 0 |
6 | 52ms | 7940kb | Gresit. | 0 |
7 | 100ms | 9632kb | Gresit. | 0 |
8 | 148ms | 11620kb | Gresit. | 0 |
9 | 204ms | 13652kb | Gresit. | 0 |
10 | 284ms | 15836kb | Gresit. | 0 |
Punctaj total | 0 |