Borderou de evaluare (job #2670941)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 10 noiembrie 2020 23:05:38
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void addTrie(trie*, char*, int)': main.cpp:19:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*s == NULL) ^~~~ main.cpp: In function 'int main()': main.cpp:44:15: warning: unused variable 'k' [-Wunused-variable] int i, j, k, n; ^ main.cpp:42:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ main.cpp:43:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ main.cpp:46:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &na); ^ main.cpp:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", s); ^ main.cpp:54:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nb); ^ main.cpp:57:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms262kbOK10
33ms393kbOK10
45ms1179kbKilled by Signal 110
59ms2490kbKilled by Signal 110
610ms2752kbOK10
728ms9830kbKilled by Signal 110
830ms10092kbKilled by Signal 110
926ms10092kbKilled by Signal 110
1025ms9699kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?