Borderou de evaluare (job #3130385)
Utilizator | Data | 17 mai 2023 17:42:10 | |
---|---|---|---|
Problema | Progr | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void add(int)':
main.cpp:29:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while (i<hsh[cod].size() && hsh[cod][i]!=e) {
| ~^~~~~~~~~~~~~~~~
main.cpp:32:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if (i==hsh[cod].size()) {
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int search(int)':
main.cpp:41:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | while (i<hsh[cod].size() && hsh[cod][i]!=e) {
| ~^~~~~~~~~~~~~~~~
main.cpp:44:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | return i==hsh[cod].size();
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61:9: error: 'sort' was not declared in this scope; did you mean 'short'?
61 | sort(v, v+n);
| ^~~~
| short
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !