Problem photo
User PerihelionfromAphelion
Submission Time 2026-11-09 15:42:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp: In function ‘bool check(long long int)’:
photo.cpp:12:9: error: ‘h’ was not declared in this scope
12 | if (h[present + 1][j] - h[present][index] <= mid) {
| ^
photo.cpp: In function ‘int32_t main()’:
photo.cpp:34:31: error: ‘v’ was not declared in this scope
34 | for (i = 0; i < n; i++) sort(v[i].begin(), v[i].end());
| ^