Problem | minstack |
---|---|
User | Ok |
Submission Time | 2024-03-15 20:33:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minstack.cpp: In function ‘void push(int)’:
minstack.cpp:10:23: error: expected primary-expression before ‘{’ token
10 | if(!dq.empty() && {X,cont} <= dq.back()) dq.push_back({X,cont});
| ^
minstack.cpp:10:22: error: expected ‘)’ before ‘{’ token
10 | if(!dq.empty() && {X,cont} <= dq.back()) dq.push_back({X,cont});
| ~ ^~
| )