Borderou de evaluare (job #1521864)

Utilizator ASTELOTudor Enescu ASTELO Data 10 noiembrie 2015 21:53:59
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘void insert(eu*, char*)’: user.cpp:13:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^ user.cpp: In function ‘bool destroy(eu*, char*)’: user.cpp:27:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^ user.cpp: In function ‘void count(eu*, char*)’: user.cpp:46:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^ user.cpp: In function ‘void pref(eu*, char*)’: user.cpp:60:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^ user.cpp: In function ‘int main()’: user.cpp:77:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trie.in","r",stdin); ^ user.cpp:78:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trie.out","w",stdout); ^ user.cpp:81:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:82:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccdPtfRI.o: In function `main': user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbOK55
20ms288kbKilled by signal 11(SIGSEGV).00
30ms292kbOK55
40ms288kbOK55
50ms288kbOK55
60ms292kbOK55
74ms312kbOK55
84ms304kbOK55
90ms444kbKilled by signal 11(SIGSEGV).00
1012ms940kbKilled by signal 11(SIGSEGV).00
1116ms348kbOK55
1220ms1640kbKilled by signal 11(SIGSEGV).00
1320ms1396kbKilled by signal 11(SIGSEGV).00
1440ms556kbOK55
1548ms532kbOK50
1664ms10116kbKilled by signal 11(SIGSEGV).0
1732ms312kbKilled by signal 11(SIGSEGV).00
1852ms7452kbKilled by signal 11(SIGSEGV).0
1960ms308kbOK50
20104ms13492kbKilled by signal 11(SIGSEGV).0
Punctaj total45

Ceva nu functioneaza?