Problem duckhunt19
User XXC
Submission Time 2025-11-24 13:57:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt19.cpp: In function ‘int main()’:
duckhunt19.cpp:11:2: error: expected initializer before ‘cin’
11 | cin>>a, b, n[a];
| ^~~
duckhunt19.cpp:24:10: error: no match for ‘operator+=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
24 | cout<< i +=i;
| ~~~~~~~~~^~~