Pagini recente » Borderou de evaluare (job #1168951) | Borderou de evaluare (job #727828) | Borderou de evaluare (job #1831884) | Borderou de evaluare (job #2676423) | Borderou de evaluare (job #2363338)
Borderou de evaluare (job #2363338)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d ",&n,&m);
^
main.cpp:19:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buf+1,N,fin);
^
main.cpp:26:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&k);
^
main.cpp:30:68: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d %d %d",&linst,&colst,&lindr,&coldr,&cul);
^
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:19:25:
/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 |
1 | 2ms | 131kb | OK | 10 |
2 | 5ms | 1179kb | OK | 10 |
3 | 5ms | 1179kb | OK | 10 |
4 | 124ms | 36175kb | OK | 10 |
5 | 122ms | 36175kb | OK | 10 |
6 | 124ms | 36175kb | OK | 10 |
7 | 195ms | 10878kb | OK | 10 |
8 | 200ms | 10878kb | OK | 10 |
9 | 263ms | 38928kb | OK | 10 |
10 | 310ms | 38928kb | OK | 10 |
Punctaj total | 100 |