Problem duckhunt4
User vadar2525
Submission Time 2025-06-04 10:41:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt4.cpp: In function ‘int main()’:
duckhunt4.cpp:13:24: error: expected ‘;’ before ‘x’
13 | ans += (x/1000) * 1000
| ^
| ;
14 | x %= 500;
| ~