Borderou de evaluare (job #2703281)
Utilizator | Data | 7 februarie 2021 22:43:19 | |
---|---|---|---|
Problema | Matsum | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:36: error: expected ';' before numeric constant
for (int j2 = j; j 2 >= 1; --j2){
^
main.cpp:23:38: warning: for increment expression has no effect [-Wunused-value]
for (int j2 = j; j 2 >= 1; --j2){
~~^~~~
main.cpp:23:42: error: expected ')' before ';' token
for (int j2 = j; j 2 >= 1; --j2){
^
main.cpp:23:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j2 = j; j 2 >= 1; --j2){
^~~
main.cpp:23:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int j2 = j; j 2 >= 1; --j2){
^~
main.cpp:23:26: warning: unused variable 'j2' [-Wunused-variable]
for (int j2 = j; j 2 >= 1; --j2){
^~
main.cpp:23:46: error: 'j2' was not declared in this scope
for (int j2 = j; j 2 >= 1; --j2){
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !