0_0_38679808_22988.cpp: In function 'void solve()':
0_0_38679808_22988.cpp:36:9: error: 'res' was not declared in this scope
36 | res=min(res,sum[(n-i)%m][m-i]);
| ^~~
0_0_38679808_22988.cpp:41:21: error: 'res' was not declared in this scope
41 | if(l<r) res=min(ans,a[l]+a[r]);
| ^~~
0_0_38679808_22988.cpp:41:29: error: 'ans' was not declared in this scope; did you mean 'abs'?
41 | if(l<r) res=min(ans,a[l]+a[r]);
| ^~~
| abs
0_0_38679808_22988.cpp:44:11: error: 'res' was not declared in this scope
44 | cout<<res<"\n";
| ^~~
|