Pagini recente » Borderou de evaluare (job #2082985) | Borderou de evaluare (job #1296313) | Borderou de evaluare (job #1034604) | Borderou de evaluare (job #1222763) | Borderou de evaluare (job #2526106)
Borderou de evaluare (job #2526106)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("div4.in", "r", stdin);
^
main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("div4.out", "w", stdout);
^
main.cpp:23:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, KMAX + 5, stdin);
^
main.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/c++/6/ext/string_conversions.h:43,
from /usr/include/c++/6/bits/basic_string.h:5420,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:23:32:
/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 |
Punctaj/grupa |
1 | 30ms | 8126kb | OK | 10 | 0 |
2 | 37ms | 8126kb | OK | 10 |
3 | 37ms | 8126kb | OK | 10 |
4 | 38ms | 8126kb | Incorect | 0 |
5 | 38ms | 8126kb | Incorect | 0 |
6 | 38ms | 8126kb | OK | 10 |
7 | 39ms | 8257kb | OK | 10 |
8 | 47ms | 8257kb | Incorect | 0 |
9 | 49ms | 8257kb | Incorect | 0 |
10 | 48ms | 8257kb | Incorect | 0 |
Punctaj total | 0 |