Borderou de evaluare (job #3171743)
Utilizator | Data | 19 noiembrie 2023 15:12:13 | |
---|---|---|---|
Problema | Editor | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void steluta(std::string)':
main.cpp:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<ch.size();i++)
| ~^~~~~~~~~~
main.cpp:12:27: error: 'v' was not declared in this scope
12 | if(ch[i]=='*' && v.size()!=0)
| ^
main.cpp: In function 'int main()':
main.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=0;i<charr.size();i++)
| ~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !