Borderou de evaluare (job #3041451)
Utilizator | Data | 31 martie 2023 15:22:53 | |
---|---|---|---|
Problema | Cerc5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bsearch(std::vector<int>&, int)':
main.cpp:15:10: error: 'else' without a previous 'if'
15 | }else{
| ^~~~
main.cpp: In function 'int main()':
main.cpp:33:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if (pos == v.size())
| ~~~~^~~~~~~~~~~
main.cpp:31:13: warning: unused variable 'ok' [-Wunused-variable]
31 | int ok = 1;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !