Problem bucketstacking
User justin271828
Submission Time 2025-03-05 19:20:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bucketstacking.cpp: In function ‘int main()’:
bucketstacking.cpp:49:24: error: ‘M’ was not declared in this scope
49 | for (auto [key, val]: M) {
| ^
bucketstacking.cpp:71:23: error: ‘val’ was not declared in this scope
71 | for (int i = 0; i < val/2 + val/2; i++) {
| ^~~
bucketstacking.cpp:86:27: error: expected ‘}’ at end of input
86 | if (temp < 0) break;}}}
| ^
bucketstacking.cpp:34:12: note: to match this ‘{’
34 | int main() {
| ^