Borderou de evaluare (job #2452772)

Utilizator robert.barbu27robert barbu robert.barbu27 Data 1 septembrie 2019 11:22:57
Problema Panza 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:52:12: error: expected unqualified-id before '=' token for(int=x-1;i>=1;--i) ^ main.cpp:52:12: error: expected ';' before '=' token main.cpp:52:12: error: expected primary-expression before '=' token main.cpp:52:17: error: 'i' was not declared in this scope for(int=x-1;i>=1;--i) ^ main.cpp:52:21: error: expected ')' before ';' token for(int=x-1;i>=1;--i) ^ main.cpp:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int=x-1;i>=1;--i) ^~~ main.cpp:52:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(int=x-1;i>=1;--i) ^~ main.cpp:52:24: error: 'i' was not declared in this scope for(int=x-1;i>=1;--i) ^ main.cpp:54:13: error: 'iny' was not declared in this scope for(iny=y+1;i<=m;++i) ^~~ Non zero exit status: 1

Ceva nu functioneaza?