Borderou de evaluare (job #2968188)
Utilizator | Data | 20 ianuarie 2023 19:34:47 | |
---|---|---|---|
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 updatea(std::string, int)':
main.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:39:14: error: 'struct Trie_Nod' has no member named 'ea'
39 | nod->ea[pos] = 1;
| ^~
main.cpp: In function 'void updateb(std::string)':
main.cpp:46:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp: In function 'void query(std::string)':
main.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:69:18: error: 'struct Trie_Nod' has no member named 'ea'
69 | if (nod->ea[i] == 0)
| ^~
main.cpp: In function 'int main()':
main.cpp:83:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for (int j = 0; j < s.size(); j++)
| ~~^~~~~~~~~~
main.cpp:86:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (int q = j; q < s.size(); q++)
| ~~^~~~~~~~~~
main.cpp:99:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for (int j = 0; j < s.size(); j++)
| ~~^~~~~~~~~~
main.cpp:102:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for (int q = j; q < s.size(); q++)
| ~~^~~~~~~~~~
main.cpp:107:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for (int i = 0; i < c1.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:110:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for (int j = i; j < c1.size(); j++)
| ~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !