Problem lineup2
User sussygoose
Submission Time 2025-11-09 13:05:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup2.cpp: In function ‘int main()’:
lineup2.cpp:22:14: error: no match for ‘operator[]’ (operand types are ‘std::stack<long long int>’ and ‘long long int’)
22 | if (m < stk[i]) {
| ^
lineup2.cpp:23:11: error: no match for ‘operator[]’ (operand types are ‘std::stack<long long int>’ and ‘long long int’)
23 | m = stk[i];
| ^