Borderou de evaluare (job #2916684)

Utilizator IgnusIgnacy Kus Ignus Data 31 iulie 2022 13:15:02
Problema Groaza 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:17:8: error: expected primary-expression before 'or' token 17 | else or(int j = n; j >= 1; j--){ | ^~ main.cpp:17:11: error: expected primary-expression before 'int' 17 | else or(int j = n; j >= 1; j--){ | ^~~ main.cpp:17:11: error: expected ')' before 'int' 17 | else or(int j = n; j >= 1; j--){ | ~^~~ | ) main.cpp:17:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 17 | else or(int j = n; j >= 1; j--){ | ^~~~ main.cpp:17:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 17 | else or(int j = n; j >= 1; j--){ | ^ main.cpp:17:22: error: 'j' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?