Pagini recente » Borderou de evaluare (job #1153085) | Borderou de evaluare (job #2165840) | Borderou de evaluare (job #1731392) | Borderou de evaluare (job #884125) | Borderou de evaluare (job #1480130)
Borderou de evaluare (job #1480130)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:65:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]->UC) ans[pos - 1] -= 32;
^
user.cpp:67:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node = node->son[node->best];
^
user.cpp: In function ‘int main()’:
user.cpp:102:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:108: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:112:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:115: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 | 512ms | 101392kb | Incorect | 0 |
Punctaj total | 0 |