Borderou de evaluare (job #1519710)

Utilizator avaspAva Spataru avasp Data 7 noiembrie 2015 18:55:47
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void add(Trie*, char*)’: user.cpp:18:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL){ ^ user.cpp: In function ‘int count(Trie*, char*)’: user.cpp:30:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL){ ^ user.cpp: In function ‘bool remove(Trie*, char*)’: user.cpp:39:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL){ ^ user.cpp: In function ‘int pref(Trie*, char*)’: user.cpp:59:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL||node->son[s[0]-'a']==NULL){ ^ user.cpp: In function ‘int main()’: user.cpp:69:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=] while(scanf("%d %s",&tip,&s)!=EOF){ ^ user.cpp:80:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x; ^ user.cpp:66:33: 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:67:35: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK55
20ms280kbOK55
30ms280kbOK55
40ms276kbOK55
50ms280kbOK55
60ms288kbOK55
70ms300kbOK55
84ms300kbOK55
98ms440kbOK55
1012ms940kbOK55
1116ms340kbOK55
1228ms1636kbOK55
1332ms1388kbOK55
1432ms548kbOK55
1540ms520kbOK510
1688ms10112kbOK5
1756ms300kbOK510
1896ms7444kbOK5
1952ms304kbOK510
20100ms13488kbOK5
Punctaj total100

Ceva nu functioneaza?