Borderou de evaluare (job #2906220)
Utilizator | Data | 25 mai 2022 09:56:04 | |
---|---|---|---|
Problema | Eq4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (val == 0 && i < s.size() && isalpha(s[i]) && !isdigit(s[i - 1]))
| ~~^~~~~~~~~~
main.cpp:35:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if (i < s.size() && isalpha(s[i]))
| ~~^~~~~~~~~~
main.cpp:81:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | while (i < a.size() && j < b.size())
| ~~^~~~~~~~~~
main.cpp:81:34: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | while (i < a.size() && j < b.size())
| ~~^~~~~~~~~~
main.cpp: At global scope:
main.cpp:116:1: error: expected declaration before '}' token
116 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !