Problem duckhunt34
User AaravRastogi
Submission Time 2025-12-17 13:57:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt34.cpp: In function ‘int main()’:
duckhunt34.cpp:4:28: error: expected ‘;’ before ‘i’
4 | #define $2 for (int i = 0 i < B.size() ; ++i)
| ^
duckhunt34.cpp:21:5: note: in expansion of macro ‘$2’
21 | $2 {smq -= B[i].second ; if (k < i){smq += B[i].first;}}
| ^~