Borderou de evaluare (job #2625914)

Utilizator andreea.vasilescuAndreea Vasilescu andreea.vasilescu Data 6 iunie 2020 10:51:07
Problema Curatenie 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:40:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=n;i++) ^~~ main.cpp:42:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' pos[x]=i; ^~~ main.cpp:42:16: error: 'i' was not declared in this scope pos[x]=i; ^ Non zero exit status: 1

Ceva nu functioneaza?