Borderou de evaluare (job #3278166)
Utilizator | Data | 18 februarie 2025 18:28:47 | |
---|---|---|---|
Problema | Coco Chanel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:21:26: error: 'maxi' was not declared in this scope
21 | if(ga[i]>maxi) maxi=ga[i];
| ^~~~
main.cpp:26:30: error: 'maxi' was not declared in this scope
26 | while(co[i]<=maxi && cnt<m) {
| ^~~~
main.cpp:26:38: error: 'cnt' was not declared in this scope; did you mean 'int'?
26 | while(co[i]<=maxi && cnt<m) {
| ^~~
| int
main.cpp:12:25: warning: unused variable 'c' [-Wunused-variable]
12 | long long n, m, c, g, gaini=0;
| ^
main.cpp:12:28: warning: unused variable 'g' [-Wunused-variable]
12 | long long n, m, c, g, gaini=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !