Borderou de evaluare (job #3324135)
| Utilizator | Data | 21 noiembrie 2025 10:50:38 | |
|---|---|---|---|
| Problema | Sortare topologica | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:39: error: expected ')' before ';' token
29 | while(signed char bit = 20; bit >= 0; bit -= 1)
| ~ ^
| )
main.cpp:29:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
29 | while(signed char bit = 20; bit >= 0; bit -= 1)
| ^~~~~
main.cpp:29:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
29 | while(signed char bit = 20; bit >= 0; bit -= 1)
| ^~~
main.cpp:29:31: warning: unused variable 'bit' [-Wunused-variable]
29 | while(signed char bit = 20; bit >= 0; bit -= 1)
| ^~~
main.cpp:29:41: error: 'bit' was not declared in this scope
29 | while(signed char bit = 20; bit >= 0; bit -= 1)
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
