Problem basketball
User PlayVoltz
Submission Time 2023-12-04 14:05:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

basketball.cpp: In function ‘bool can(long long int)’:
basketball.cpp:11:18: error: ‘n’ was not declared in this scope
11 | for (int i=0; i<n; ++i)if (vect[i]<hoops[i].first-lim||vect[i]>hoops[i].second+lim)return 0;
| ^