Borderou de evaluare (job #3168463)
Utilizator | Data | 12 noiembrie 2023 15:20:08 | |
---|---|---|---|
Problema | Plaja2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int ct(zilep, zilep)':
main.cpp:20:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
20 | if(abs(b1-a1)<=T)
| ^~
main.cpp:22:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22 | if(a1>=b1)
| ^~
main.cpp: In function 'int main()':
main.cpp:36:34: error: expected ';' before 'int'
36 | maxrez=max(v[i].t,maxrez)
| ^
| ;
37 | int max1=ct(v[i-1],v[i]);
| ~~~
main.cpp:39:12: error: 'max1' was not declared in this scope
39 | if(max1>maxrez)maxrez=max1;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !