Borderou de evaluare (job #2302162)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 13 decembrie 2018 21:22:57
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

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:68:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[101]' [-Wformat=] fscanf (fin, "%s", &s); ^ main.cpp:73:12: warning: unused variable '_' [-Wunused-variable] bool _ = erase (T, s); ^ main.cpp:68:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
33ms131kbOK55
43ms131kbOK55
54ms131kbOK55
64ms131kbOK55
77ms262kbOK55
89ms131kbOK55
915ms524kbOK55
1022ms1441kbOK55
1126ms262kbOK55
1246ms2752kbOK55
1354ms2359kbOK55
1454ms655kbOK55
1563ms655kbOK510
16146ms19005kbOK5
1776ms393kbOK510
18145ms13893kbOK5
1975ms262kbOK50
2098ms20496kbMemory limit exceeded0
Punctaj total90

Ceva nu functioneaza?