Problem gentlepairs
User PlayVoltz
Submission Time 2023-12-06 11:49:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gentlepairs.cpp: In function ‘int main()’:
gentlepairs.cpp:26:37: error: ‘res’ was not declared in this scope
26 | if (b[i]-b[j]<=abs(a[i]-a[j]) && res>=-abs(a[i]-a[j]))++c;
| ^~~