Problem hammeringnails
User jerrielchangjiebin
Submission Time 2024-12-11 11:18:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hammeringnails.cpp: In member function ‘bool Solution::canLevelBoard(std::vector<int>, int, int, int)’:
hammeringnails.cpp:60:22: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
60 | for (int i = n - 1; i >= n - suffix; i--) {
| ^
| yn