Borderou de evaluare (job #2307273)

Utilizator PetyAlexandru Peticaru Pety Data 24 decembrie 2018 10:45:41
Problema Regine Status done
Runda Lista lui wefgef Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:15: error: expected ';' before '+' token for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ main.cpp:17:20: error: 'j' was not declared in this scope for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ main.cpp:17:32: error: 'i' was not declared in this scope for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ main.cpp:17:38: error: expected ')' before ';' token for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ main.cpp:17:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^~~ main.cpp:17:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ main.cpp:17:40: error: 'i' was not declared in this scope main.cpp:17:48: error: 'j' was not declared in this scope for (int st + 1, j = st + 1; i <= n; i += 2, j++) ^ Non zero exit status: 1

Ceva nu functioneaza?