Borderou de evaluare (job #3257549)
Utilizator | Data | 18 noiembrie 2024 14:02:59 | |
---|---|---|---|
Problema | Sir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::pair<int, std::pair<int, int> > cautare_bin(int)':
main.cpp:15:12: error: 'fa' was not declared in this scope; did you mean 'fma'?
15 | if(fa(mid).first!=0)
| ^~
| fma
main.cpp:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
21 | }
| ^
main.cpp: In function 'std::pair<int, int> fa(int)':
main.cpp:25:9: warning: unused variable 'dif' [-Wunused-variable]
25 | int dif=0;
| ^~~
main.cpp: In function 'int main()':
main.cpp:65:9: warning: unused variable 'dif' [-Wunused-variable]
65 | int dif=0;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !