Borderou de evaluare (job #1480112)
Utilizator | Data | 2 septembrie 2015 06:01:37 | |
---|---|---|---|
Problema | Facebook Search | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void Trie::get_min(bool, char*)’:
user.cpp:31:17: error: ‘T’ was not declared in this scope
if (this != T)
^
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:64:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (; node->sons && node->rel < node->sonRel; node = node->son[node->best]){
^
user.cpp:66:28: 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:96:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:102: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:106:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:110:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 50, stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !