Borderou de evaluare (job #3270150)
Utilizator | Data | 22 ianuarie 2025 09:51:15 | |
---|---|---|---|
Problema | Stalpisori | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int Cb(int)':
main.cpp:29:22: error: expected ';' before '}' token
29 | else dr=mij-1
| ^
| ;
30 | }
| ~
main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
31 | }
| ^
main.cpp: In function 'int Ebun(int)':
main.cpp:35:9: error: 'i' was not declared in this scope
35 | for(i=1;i<=n;i++)
| ^
main.cpp:36:20: error: 'd' was not declared in this scope
36 | if(Cb(a[i]+d)-Cb(a[i]-d-1)<k)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !