Borderou de evaluare (job #3175239)
Utilizator | Data | 25 noiembrie 2023 14:31:02 | |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void func_insert(node*, char*, int)':
main.cpp:18:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
18 | if(pos==strlen(y)-1)
| ~~~^~~~~~~~~~~~~
main.cpp:26:37: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | node*nou_nod=nod->next[y[pos]];
| ~~~~~^
main.cpp:31:32: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | func_insert(nod->next[y[pos]],y,pos+1);
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:37:11: error: 'fin' was not declared in this scope
37 | while(fin>>x)
| ^~~
main.cpp:45:9: error: 'else' without a previous 'if'
45 | else if(x==1)
| ^~~~
main.cpp:47:13: error: 'func_del' was not declared in this scope
47 | func_del(y);
| ^~~~~~~~
main.cpp:51:13: error: 'query_cnt' was not declared in this scope
51 | query_cnt(y);
| ^~~~~~~~~
main.cpp:55:13: error: 'query_prefx' was not declared in this scope
55 | query_prefx(y);
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !