nile.cpp:4:15: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
4 | const int inf=1e18;
| ^~~~
nile.cpp: In function 'std::vector<long long int> calculate_costs(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
nile.cpp:11:31: error: 'b' was not declared in this scope
11 | for (int i=0;i<n;i++)ans+=b[i],ans1+=b[i];
| ^
nile.cpp:14:41: error: 'a' was not declared in this scope
14 | for (int i=0;i<mn;i++)mn=min(mn,a[i]-b[i]);
| ^
nile.cpp:14:46: error: 'b' was not declared in this scope
14 | for (int i=0;i<mn;i++)mn=min(mn,a[i]-b[i]);
| ^