Problem duckhunt29
User Yichen
Submission Time 2025-12-12 13:35:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:30:17: error: ‘n’ was not declared in this scope
30 | i=(i+1)%n;
| ^