Problem gap
User yc
Submission Time 2026-05-04 07:21:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gap.cpp: In function ‘long long int findGap(int, int)’:
gap.cpp:37:18: error: ‘n’ was not declared in this scope
37 | for (int i =0;i<n-1;i++){
| ^