Borderou de evaluare (job #2670092)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 8 noiembrie 2020 22:55:52
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void addWord(trie*, char*, int)': main.cpp:24:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*s == NULL) ^~~~ main.cpp: In function 'int main()': main.cpp:61:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.in", "r", stdin); ^ main.cpp:62:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.out", "w", stdout); ^ main.cpp:65:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ main.cpp:68:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:73:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:77:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[j]); ^ main.cpp:68:23: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%s", s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbKilled by Signal 110
23ms393kbKilled by Signal 110
33ms393kbKilled by Signal 110
43ms393kbKilled by Signal 110
53ms393kbKilled by Signal 110
62ms393kbKilled by Signal 110
73ms393kbKilled by Signal 110
83ms393kbKilled by Signal 110
92ms393kbKilled by Signal 110
102ms393kbKilled by Signal 110
113ms393kbKilled by Signal 110
123ms393kbKilled by Signal 110
133ms393kbKilled by Signal 110
143ms393kbKilled by Signal 110
152ms393kbKilled by Signal 110
163ms393kbKilled by Signal 110
173ms393kbKilled by Signal 110
183ms393kbKilled by Signal 110
193ms393kbKilled by Signal 110
203ms393kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?