Borderou de evaluare (job #1480708)

Utilizator theprdvtheprdv theprdv Data 3 septembrie 2015 02:28:39
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:69:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (it->rel >= node->rel) { rel = it->rel; break; } ^ user.cpp:72:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] node = node->son[node->best]; ^ user.cpp:77:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (it->rel > rel) rel = it->rel, bitset = it->bitset; ^ user.cpp:78:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (it->rel == rel){ // compare the bits ^ user.cpp: In function ‘int main()’: user.cpp:126:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tests); ^ user.cpp:132: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:137:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] insert(T, line); ^ user.cpp:140: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
1488ms96660kbIncorect0
Punctaj total0

Ceva nu functioneaza?