Borderou de evaluare (job #2496214)
Utilizator | Data | 20 noiembrie 2019 14:57:59 | |
---|---|---|---|
Problema | AI | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void lee1()':
main.cpp:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for ( int i = 0 ; i <= 3 ; i++ )
^~~
main.cpp:71:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
vecin.x = q[inc].x + dx[i];
^~~~~
main.cpp:70:17: warning: unused variable 'vecin' [-Wunused-variable]
ura vecin;
^~~~~
main.cpp:71:13: error: 'vecin' was not declared in this scope
vecin.x = q[inc].x + dx[i];
^~~~~
main.cpp:71:37: error: 'i' was not declared in this scope
vecin.x = q[inc].x + dx[i];
^
main.cpp: In function 'void lee2()':
main.cpp:87:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for ( int i = 0 ; i <= 3 ; i++ )
^~~
main.cpp:89:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
vecin.x = q[inc].x + dx[i];
^~~~~
main.cpp:88:17: warning: unused variable 'vecin' [-Wunused-variable]
ura vecin;
^~~~~
main.cpp:89:13: error: 'vecin' was not declared in this scope
vecin.x = q[inc].x + dx[i];
^~~~~
main.cpp:89:37: error: 'i' was not declared in this scope
vecin.x = q[inc].x + dx[i];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !