Pagini recente » Borderou de evaluare (job #1972912) | Borderou de evaluare (job #2006307) | Borderou de evaluare (job #1221202) | Borderou de evaluare (job #1011471) | Borderou de evaluare (job #1485697)
Borderou de evaluare (job #1485697)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32: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:36: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:76: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:36: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 | 492kb | OK | 10 |
3 | 0ms | 492kb | OK | 10 |
4 | 192ms | 4160kb | OK | 10 |
5 | 192ms | 4256kb | OK | 10 |
6 | 196ms | 4196kb | OK | 10 |
7 | Depăşit | 4096kb | Time limit exceeded. | 0 |
8 | 336ms | 4104kb | OK | 10 |
9 | 348ms | 4272kb | OK | 10 |
10 | 348ms | 3996kb | OK | 10 |
Punctaj total | 90 |