Problem mononono
User PlayVoltz
Submission Time 2023-12-30 15:40:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mononono.cpp: In function ‘void insert(long long int, long long int)’:
mononono.cpp:17:40: error: ‘class std::vector<std::stack<long long int> >’ has no member named ‘top’
17 | while (st[i].top()<num)insert(i+1, st.top()), st.pop();
| ^~~
mononono.cpp:17:51: error: ‘class std::vector<std::stack<long long int> >’ has no member named ‘pop’
17 | while (st[i].top()<num)insert(i+1, st.top()), st.pop();
| ^~~
mononono.cpp:18:5: error: ‘class std::vector<std::stack<long long int> >’ has no member named ‘push’
18 | st.push(num);
| ^~~~