Pagini recente » Borderou de evaluare (job #1774031) | Borderou de evaluare (job #2467130) | Borderou de evaluare (job #1752525) | Borderou de evaluare (job #4552) | Borderou de evaluare (job #1480118)
Borderou de evaluare (job #1480118)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:63:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]) node = node->son[node->best];
^
user.cpp:63:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]) node = node->son[node->best];
^
user.cpp:64:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (node->best < 0 || !node->son[node->best]) break;
^
user.cpp: In function ‘int main()’:
user.cpp:99:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:105: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:109:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:112: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 |
1 | 492ms | 95072kb | Incorect | 0 |
Punctaj total | 0 |