Pagini recente » Cod sursa (job #3186610) | Cod sursa (job #2971404) | Borderou de evaluare (job #967927) | Cod sursa (job #2652460) | Borderou de evaluare (job #1485705)
Borderou de evaluare (job #1485705)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d\n",&n,&m,&q);
^
user.cpp:37:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,252,f);
^
user.cpp:72:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,251,f);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:37:23:
/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 | 0ms | 448kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | 188ms | 4160kb | OK | 10 |
5 | 188ms | 4256kb | OK | 10 |
6 | 188ms | 4188kb | OK | 10 |
7 | 340ms | 4100kb | OK | 10 |
8 | 328ms | 4096kb | OK | 10 |
9 | 336ms | 4268kb | OK | 10 |
10 | 336ms | 4000kb | OK | 10 |
Punctaj total | 100 |