Borderou de evaluare (job #2324375)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 20 ianuarie 2019 17:27:51
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-32 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void update(Trie*, char*)': main.cpp:23:13: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) { ^~~~ main.cpp: In function 'bool erase(Trie*, char*)': main.cpp:35:13: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) { ^~~~ main.cpp: In function 'int query(Trie*, char*)': main.cpp:50:13: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) ^~~~ main.cpp: In function 'int prefix(Trie*, char*, int)': main.cpp:58:13: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) ^~~~ main.cpp: In function 'int main()': main.cpp:69:28: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[101]' [-Wformat=] fscanf (fin, "%s\n", &s); ^ main.cpp:74:12: warning: unused variable '_' [-Wunused-variable] bool _ = erase (T, s); ^ main.cpp:68:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &op); ^ main.cpp:69:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s\n", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
33ms131kbOK55
43ms131kbOK55
54ms131kbOK55
65ms131kbOK55
77ms131kbOK55
89ms131kbOK55
915ms262kbOK55
1021ms786kbOK55
1127ms262kbOK55
1244ms1572kbOK55
1351ms1310kbOK55
1454ms524kbOK55
1566ms393kbOK510
16127ms10223kbOK5
17162ms262kbOK510
18131ms7602kbOK5
1982ms262kbOK510
20146ms13762kbOK5
Punctaj total100

Ceva nu functioneaza?