Borderou de evaluare (job #3219944)
Utilizator | Data | 1 aprilie 2024 20:19:54 | |
---|---|---|---|
Problema | Nodiv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
28 | for(b=1;b<=a&&nr3<39;b*=3,nr3++);?
| ^~~
main.cpp:28:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
28 | for(b=1;b<=a&&nr3<39;b*=3,nr3++);?
| ^
main.cpp:28:38: error: expected primary-expression before '?' token
main.cpp:29:5: error: expected primary-expression before 'while'
29 | while(a)
| ^~~~~
main.cpp:28:39: error: expected ':' before 'while'
28 | for(b=1;b<=a&&nr3<39;b*=3,nr3++);?
| ^
| :
29 | while(a)
| ~~~~~
main.cpp:29:5: error: expected primary-expression before 'while'
29 | while(a)
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !