Borderou de evaluare (job #735744)

Utilizator gramatovici_paulGramatovici Paul gramatovici_paul Data 17 aprilie 2012 10:42:34
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:16: warning: ‘w’ may be used uninitialized in this function user.cpp:16: warning: ‘e’ may be used uninitialized in this function In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from /usr/include/c++/4.4/fstream:43, from user.cpp:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:24: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccUZyylI.o: In function `main': user.cpp:(.text+0xb6): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x120): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms428kbOk!5
24ms428kbWrong answer!0
332ms12084kbKilled by signal 11(SIGSEGV).0
428ms12080kbKilled by signal 11(SIGSEGV).0
528ms12080kbKilled by signal 11(SIGSEGV).0
628ms12076kbKilled by signal 11(SIGSEGV).0
728ms12080kbKilled by signal 11(SIGSEGV).0
828ms12080kbKilled by signal 11(SIGSEGV).0
928ms12080kbKilled by signal 11(SIGSEGV).0
1032ms12076kbKilled by signal 11(SIGSEGV).0
1128ms12080kbKilled by signal 11(SIGSEGV).0
1228ms12076kbKilled by signal 11(SIGSEGV).0
1328ms12080kbKilled by signal 11(SIGSEGV).0
1428ms12080kbKilled by signal 11(SIGSEGV).0
1528ms12080kbKilled by signal 11(SIGSEGV).0
1628ms12080kbKilled by signal 11(SIGSEGV).0
1732ms12080kbKilled by signal 11(SIGSEGV).0
1828ms12080kbKilled by signal 11(SIGSEGV).0
1928ms12080kbKilled by signal 11(SIGSEGV).0
2028ms12084kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?