Borderou de evaluare (job #3375902)

Utilizator veronica_stanciuStanciu Veronica veronica_stanciu Data 14 noiembrie 2026 11:48:58
Problema Atlas 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:13:18: error: request for member 'h' in 'stiva[0]', which is of non-class type 'int' 13 | stiva[0].h=100005; | ^ main.cpp:14:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 14 | for(int i=1; i<=n; i++) | ^~~ main.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 16 | if(v[i]>v[i+1]){ | ^~ main.cpp:16:18: error: 'i' was not declared in this scope 16 | if(v[i]>v[i+1]){ | ^ main.cpp:64:21: error: 'ultmare' was not declared in this scope 64 | ultmare[i]=j; | ^~~~~~~ main.cpp:70:17: error: 'ultmic' was not declared in this scope 70 | ultmic[i]=stiva[k] | ^~~~~~ main.cpp: At global scope: main.cpp:84:5: error: expected unqualified-id before 'return' 84 | return 0; | ^~~~~~ main.cpp:85:1: error: expected declaration before '}' token 85 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?