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

Compile Error

lineup2.cpp: In function ‘int main()’:
lineup2.cpp:21:36: error: expected primary-expression before ‘)’ token
21 | for (int i = 0; i < stk.size(); i+) {
| ^
lineup2.cpp:22:17: error: no match for ‘operator[]’ (operand types are ‘std::stack<long long int>’ and ‘long long int’)
22 | m = max(m, stk[i]);
| ^