Borderou de evaluare (job #1480126)

Utilizator theprdvtheprdv theprdv Data 2 septembrie 2015 08:20:00
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void query(Trie*, char*)’: user.cpp:62:97: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (; node->best != -1 && node->sons && node->rel < node->sonRel; node = node->son[node->best]){ ^ user.cpp:64:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (node->son[node->best]->UC) ans[pos - 1] -= 32; ^ user.cpp: In function ‘int main()’: user.cpp:100:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tests); ^ user.cpp:106:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:110:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] insert(T, line); ^ user.cpp:113:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 50, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?