Problem notduckhunt
User n1k1trh
Submission Time 2025-12-25 18:18:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

notduckhunt.cpp: In function ‘void solve()’:
notduckhunt.cpp:45:59: error: ‘k’ was not declared in this scope
45 | else REP0(i, K-1, N) {int mP = (i-K>=0) ? y[i-k]:0; if(pfx[i] - mP>0) {ba=true;break;}}
| ^