Borderou de evaluare (job #3282129)

Utilizator eul2Andrei Takacs Rares eul2 Data 4 martie 2025 17:11:10
Problema Chat Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: expected ',' or ';' before 'int' 5 | int T,n,k,a[50001]; | ^~~ main.cpp: In function 'int main()': main.cpp:8:8: error: 'T' was not declared in this scope 8 | f>>T; | ^ main.cpp:10:12: error: 'n' was not declared in this scope; did you mean 'yn'? 10 | f>>n>>k; | ^ | yn main.cpp:10:15: error: 'k' was not declared in this scope 10 | f>>n>>k; | ^ main.cpp:14:21: error: 'a' was not declared in this scope 14 | f>> a[i]; | ^ main.cpp:16:20: error: 'a' was not declared in this scope 16 | if(a[i] > a[i+1]) | ^ Non zero exit status: 1

Ceva nu functioneaza?