Problem f7
User PerihelionfromAphelion
Submission Time 2026-07-17 22:42:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

f7.cpp: In function ‘bool can(int)’:
f7.cpp:5:22: error: ‘n’ was not declared in this scope
5 | for (int i = 0; i < n - 1; i++) {
| ^
f7.cpp:6:11: error: ‘b’ was not declared in this scope
6 | if (x < b[i] + n - 1 - i) return false;
| ^