Problem bucketstacking
User CHF
Submission Time 2025-08-13 21:18:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bucketstacking.cpp: In lambda function:
bucketstacking.cpp:104:6: error: expected ‘(’ before ‘possible’
104 | {if possible (choose orientation that fits)
| ^~~~~~~~
| (
bucketstacking.cpp:110:13: error: expected unqualified-id before ‘.’ token
110 | if(stack.empty())
| ^
bucketstacking.cpp:112:11: error: expected unqualified-id before ‘.’ token
112 | stack.push_back({id,ori});
| ^
bucketstacking.cpp:112:30: error: expected primary-expression before ‘)’ token
112 | stack.push_back({id,ori});
| ^
bucketstacking.cpp:117:29: error: missing template arguments before ‘.’ token
117 | auto [last,lor] = stack.back();
| ^
bucketstacking.cpp:120:12: error: expected unqualified-id before ‘.’ token
120 | stack.push_back({id,ori});
| ^
bucketstacking.cpp:120:31: e