Borderou de evaluare (job #2864203)
Utilizator | Data | 7 martie 2022 18:04:03 | |
---|---|---|---|
Problema | Balbaiala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool vef(long long int, std::string)':
main.cpp:18:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int x = 0;x<a.size();++x)
| ~^~~~~~~~~
main.cpp:17:9: warning: unused variable 'cnt' [-Wunused-variable]
17 | int cnt = 0;
| ^~~
main.cpp: At global scope:
main.cpp:60:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
60 | main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:74:16: error: expected primary-expression before '<<' token
74 | g<<ans;<<'\n';
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !