Borderou de evaluare (job #735739)

Utilizator gramatovici_paulGramatovici Paul gramatovici_paul Data 17 aprilie 2012 10:36:47
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:49: warning: array subscript has type ‘char’ user.cpp:50: warning: array subscript has type ‘char’ user.cpp:54: warning: array subscript has type ‘char’ user.cpp:54: warning: array subscript has type ‘char’ user.cpp:56: warning: array subscript has type ‘char’ user.cpp:57: warning: array subscript has type ‘char’ user.cpp:66: warning: array subscript has type ‘char’ user.cpp:66: warning: array subscript has type ‘char’ user.cpp:68: warning: array subscript has type ‘char’ user.cpp:69: warning: array subscript has type ‘char’ user.cpp:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:15: warning: ‘w’ may be used uninitialized in this function user.cpp:15: 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:23: /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/ccsTEK2S.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
14ms436kbOk!5
24ms428kbWrong answer!0
328ms12088kbKilled by signal 11(SIGSEGV).0
428ms12092kbKilled by signal 11(SIGSEGV).0
524ms12088kbKilled by signal 11(SIGSEGV).0
624ms12084kbKilled by signal 11(SIGSEGV).0
724ms12088kbKilled by signal 11(SIGSEGV).0
828ms12088kbKilled by signal 11(SIGSEGV).0
924ms12084kbKilled by signal 11(SIGSEGV).0
1028ms12088kbKilled by signal 11(SIGSEGV).0
1124ms12084kbKilled by signal 11(SIGSEGV).0
1228ms12088kbKilled by signal 11(SIGSEGV).0
1324ms12084kbKilled by signal 11(SIGSEGV).0
1424ms12084kbKilled by signal 11(SIGSEGV).0
1524ms12088kbKilled by signal 11(SIGSEGV).0
1624ms12088kbKilled by signal 11(SIGSEGV).0
1728ms12092kbKilled by signal 11(SIGSEGV).0
1824ms12088kbKilled by signal 11(SIGSEGV).0
1924ms12084kbKilled by signal 11(SIGSEGV).0
2024ms12084kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?