Borderou de evaluare (job #3149991)
Utilizator | Data | 14 septembrie 2023 12:14:44 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:9: error: 'fin' was not declared in this scope; did you mean 'sin'?
10 | fin >> a >> b;
| ^~~
| sin
main.cpp:15:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i = 1, j = -1; i < aux.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp:33:34: 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, j = -1; i < b.size(); i++){
| ~~^~~~~~~~~~
main.cpp:37:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(j == a.size() - 1){
| ~~^~~~~~~~~~~~~~~
main.cpp:50:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if(j == a.size() - 1){
| ~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !