Borderou de evaluare (job #1480444)

Utilizator theprdvtheprdv theprdv Data 2 septembrie 2015 16:45:53
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:122:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tests); ^ user.cpp:128: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:133:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] insert(T, line); ^ user.cpp:136: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
1496ms96648kbIncorect0
Punctaj total0

Ceva nu functioneaza?