Pagini recente » Borderou de evaluare (job #2045439) | Borderou de evaluare (job #2260260) | Borderou de evaluare (job #577379) | Borderou de evaluare (job #2620660) | Borderou de evaluare (job #1480116)
Borderou de evaluare (job #1480116)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:60:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (; node->sons; node = node->son[node->best]){
^
user.cpp:64:29: 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:114: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 | 508ms | 95076kb | Incorect | 0 |
Punctaj total | 0 |