Borderou de evaluare (job #773449)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gondola (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 apr. 2024 10:06:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:23:18: error: too many decimal points in number
23 | while(i < n){0.............................
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:66:16: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
66 | if(difmax1 << difmax2) {
| ~~~~~~~~^~~~~~~~~~
main.cpp:71:2: error: expected '}' at end of input
71 | }
| ^
main.cpp:9:1: note: to match this '{'
9 | {
| ^
main.cpp:10:12: warning: unused variable 'difmax' [-Wunused-variable]
10 | int n, difmax, nr, suma, i, p, difc, num, numr, nrp, nump, numrp, dif, diff, difmax1, difmax2;
| ^~~~~~