Pagini recente » Borderou de evaluare (job #1452579) | Borderou de evaluare (job #1946727) | Borderou de evaluare (job #1202153) | Borderou de evaluare (job #1261794) | Borderou de evaluare (job #1480139)
Borderou de evaluare (job #1480139)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:64:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]->UC) ans[pos - 1] -= 32;
^
user.cpp:66:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node = node->son[node->best];
^
user.cpp: In function ‘int main()’:
user.cpp:104:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:110: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:114:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:117: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 | 520ms | 101396kb | Incorect | 0 |
Punctaj total | 0 |