Borderou de evaluare (job #2974688)

Utilizator anghelpatrickPatrick Anghel anghelpatrick Data 4 februarie 2023 14:28:26
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:1: error: expected ',' or ';' before 'deque' 10 | deque <pair< int, int > > d_max; | ^~~~~ main.cpp: In function 'int main()': main.cpp:22:17: error: 'd_max' was not declared in this scope 22 | while( !d_max.empty() && d_max.back().first < x ) | ^~~~~ main.cpp:25:9: error: 'd_max' was not declared in this scope 25 | d_max.push_back(make_pair(x,i)); | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?