Problem mountainbridges
User Josh28acc2
Submission Time 2023-12-03 22:49:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainbridges.cpp: In function ‘void solve()’:
mountainbridges.cpp:132:10: error: ‘class std::stack<std::pair<long long int, long long int> >’ has no member named ‘push_back’
132 | mono.push_back(MP(arr[1], 1));
| ^~~~~~~~~