Borderou de evaluare (job #2429039)

Utilizator georgeoctavianGeorge Octavian Grumazescu georgeoctavian Data 7 iunie 2019 14:12:10
Problema Deque Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: expected initializer before 'long' long long ans; ^~~~ main.cpp: In function 'int main()': main.cpp:12:14: error: 'v' was not declared in this scope fin>>v[i]; ^ main.cpp:16:38: error: 'v' was not declared in this scope while(dq.front()<=dq.back()&&v[i]<=v[dq.back()]) ^ main.cpp:22:13: error: 'ans' was not declared in this scope ans+=v[dq.front()]; ^~~ main.cpp:22:18: error: 'v' was not declared in this scope ans+=v[dq.front()]; ^ main.cpp:24:11: error: 'ans' was not declared in this scope fout<<ans; ^~~ Non zero exit status: 1

Ceva nu functioneaza?