Borderou de evaluare (job #1676158)

Utilizator zertixMaradin Octavian zertix Data 5 aprilie 2016 19:07:10
Problema Sablon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sablon.in","r",stdin); ^ user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sablon.out","w",stdout); ^ user.cpp:57:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s+1,1505,stdin); ^ user.cpp:58:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:59:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&nrtest); ^ user.cpp:65:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir+1,1505,stdin); ^ user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ 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/ostream:38, from /usr/include/c++/4.8/iostream:39, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:57:26: /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); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:65:32: /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
1184msDepăşitMemory limit exceeded.0
2196msDepăşitMemory limit exceeded.0
3136msDepăşitMemory limit exceeded.0
4176msDepăşitMemory limit exceeded.0
528msDepăşitMemory limit exceeded.0
628msDepăşitMemory limit exceeded.0
728msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1024msDepăşitMemory limit exceeded.0
1128msDepăşitMemory limit exceeded.0
1224msDepăşitMemory limit exceeded.0
1328msDepăşitMemory limit exceeded.0
1428msDepăşitMemory limit exceeded.0
1528msDepăşitMemory limit exceeded.0
1628msDepăşitMemory limit exceeded.0
1724ms4356kbKilled by signal 11(SIGSEGV).0
1824ms4356kbKilled by signal 11(SIGSEGV).0
1924ms4352kbKilled by signal 11(SIGSEGV).0
2020ms4352kbKilled by signal 11(SIGSEGV).0
2124ms4360kbKilled by signal 11(SIGSEGV).0
2224ms4352kbKilled by signal 11(SIGSEGV).0
2328ms4352kbKilled by signal 11(SIGSEGV).0
2424ms4356kbKilled by signal 11(SIGSEGV).0
2524ms4352kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?