Borderou de evaluare (job #3159284)

Utilizator AndreiDaDada Andrei AndreiDa Data 21 octombrie 2023 01:33:08
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:7: error: 'n' was not declared in this scope 6 | int v[n+1],st[n+1]; | ^ main.cpp:6:15: error: 'n' was not declared in this scope 6 | int v[n+1],st[n+1]; | ^ main.cpp: In function 'int main()': main.cpp:13:16: error: 'v' was not declared in this scope 13 | cin >> v[i]; | ^ main.cpp:15:5: error: 'st' was not declared in this scope; did you mean 'std'? 15 | st[k]=v[n]; | ^~ | std main.cpp:15:11: error: 'v' was not declared in this scope 15 | st[k]=v[n]; | ^ Non zero exit status: 1

Ceva nu functioneaza?