Borderou de evaluare (job #1521860)

Utilizator ASTELOTudor Enescu ASTELO Data 10 noiembrie 2015 21:51:19
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

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:55:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^ user.cpp: In function ‘int main()’: user.cpp:72: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:73: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:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:77:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cczEaPtU.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
10ms284kbKilled by signal 11(SIGSEGV).00
20ms276kbKilled by signal 11(SIGSEGV).00
30ms284kbKilled by signal 11(SIGSEGV).00
40ms280kbKilled by signal 11(SIGSEGV).00
50ms280kbKilled by signal 11(SIGSEGV).00
60ms292kbKilled by signal 11(SIGSEGV).00
70ms284kbKilled by signal 11(SIGSEGV).00
80ms280kbKilled by signal 11(SIGSEGV).00
90ms280kbKilled by signal 11(SIGSEGV).00
100ms284kbKilled by signal 11(SIGSEGV).00
110ms288kbKilled by signal 11(SIGSEGV).00
120ms284kbKilled by signal 11(SIGSEGV).00
130ms288kbKilled by signal 11(SIGSEGV).00
140ms284kbKilled by signal 11(SIGSEGV).00
150ms296kbKilled by signal 11(SIGSEGV).00
160ms284kbKilled by signal 11(SIGSEGV).0
170ms288kbKilled by signal 11(SIGSEGV).00
180ms296kbKilled by signal 11(SIGSEGV).0
190ms296kbKilled by signal 11(SIGSEGV).00
200ms268kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?