Borderou de evaluare (job #3170126)
Utilizator | Data | 16 noiembrie 2023 20:27:52 | |
---|---|---|---|
Problema | Sub | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void ins()':
main.cpp:31:13: error: 'trie' was not declared in this scope; did you mean 'triep'?
31 | if (trie[s[j]-'a'][node]==0)
| ^~~~
| triep
main.cpp:36:14: error: 'trie' was not declared in this scope; did you mean 'triep'?
36 | node=trie[s[j]-'a'][node];
| ^~~~
| triep
main.cpp: In function 'void destroy()':
main.cpp:50:13: error: 'trie' was not declared in this scope; did you mean 'triep'?
50 | if (trie[s[j]-'a'][node]==0)
| ^~~~
| triep
main.cpp: In function 'void query()':
main.cpp:70:14: error: 'trie' was not declared in this scope; did you mean 'triep'?
70 | node=trie[s[j]-'a'][node];
| ^~~~
| triep
main.cpp: In function 'int main()':
main.cpp:96:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for (i=0; i<s.size(); i++)
| ~^~~~~~~~~
main.cpp:106:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for (i=0; i<s.size(); i++)
| ~^~~~~~~~~
main.cpp:114:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for (i=0; i<s.size(); i++)
| ~^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !