0_0_16484737_16841.cpp: In function 'int main()':
0_0_16484737_16841.cpp:39:30: error: 'dis' was not declared in this scope
ans=min(ans,abs(x-a[i])+dis[i][j]+abs(y-a[j]));
^
0_0_16484737_16841.cpp:41:11: error: 'LL' was not declared in this scope
(res+=(LL)k*ans%mod)%=mod;
^
0_0_16484737_16841.cpp:41:14: error: expected ')' before 'k'
(res+=(LL)k*ans%mod)%=mod;
^
|