Borderou de evaluare (job #797777)

Utilizator avatar Iancu_Vlad Iancu Vlad Pavel Iancu_Vlad IP ascuns
Problemă Nrbuild Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 nov. 2024 15:58:20 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:23: error: expected ']' before ',' token 7 | long long n,i,j,x,f[15,cif; | ^ | ] main.cpp: In function 'int main()': main.cpp:12:14: error: 'v' was not declared in this scope 12 | cin>>v[i]; | ^ main.cpp:15:15: error: 'v' was not declared in this scope 15 | while(v[i]) | ^ main.cpp:17:9: error: 'f' was not declared in this scope 17 | f[x]++; | ^ main.cpp:20:24: error: 'f' was not declared in this scope 20 | for(j=1;j<=f[i];j++) | ^ main.cpp:19:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(i=9;i>=1;i--) | ^~~ main.cpp:22:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | cout<<'\n'; | ^~~~ main.cpp:24:28: error: 'f' was not declared in this scope 24 | for(j=1;i<=f[i];j++) | ^