Pagini recente » Borderou de evaluare (job #101457) | Borderou de evaluare (job #3144701) | Borderou de evaluare (job #1438343) | Borderou de evaluare (job #3268953) | Borderou de evaluare (job #2178397)
Borderou de evaluare (job #2178397)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karma.in", "r", stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karma.out", "w", stdout);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &m);
^
user.cpp:22:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (str + 1, 32, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/5/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:22:35:
/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 | 0ms | 3280kb | OK! | 0 |
2 | 0ms | 3276kb | OK! | 0 |
3 | 0ms | 3376kb | OK! | 10 |
4 | 4ms | 3612kb | OK! | 10 |
5 | 84ms | 9640kb | OK! | 10 |
6 | 184ms | 9752kb | OK! | 10 |
7 | 184ms | 9668kb | OK! | 10 |
8 | 184ms | 9712kb | OK! | 10 |
9 | 184ms | 9720kb | OK! | 10 |
10 | 184ms | 9748kb | OK! | 10 |
11 | 0ms | 3296kb | OK! | 10 |
12 | 0ms | 3400kb | OK! | 10 |
Punctaj total | 100 |