Pagini recente » Borderou de evaluare (job #249482) | Borderou de evaluare (job #2208311) | Borderou de evaluare (job #2231118) | Borderou de evaluare (job #553152) | Borderou de evaluare (job #1480115)
Borderou de evaluare (job #1480115)
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: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:113: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 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 0 |