merchant.cpp: In function 'int main()':
merchant.cpp:37:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int a=0;a<N,a++)
~^~
merchant.cpp:37:21: error: expected ';' before ')' token
for(int a=0;a<N,a++)
^
merchant.cpp:43:16: warning: left operand of comma operator has no effect [-Wunused-value]
for(int a=0;a<N,a++)
~^~
merchant.cpp:43:22: error: expected ';' before ')' token
for(int a=0;a<N,a++)
^
merchant.cpp:49:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int a=0;a<N,a++)
~^~
merchant.cpp:49:21: error: expected ';' before ')' token
for(int a=0;a<N,a++)
^
merchant.cpp:53:6: error: 'ans' was not declared in this scope
ans=max(ans,(DP[a][b][i]+DP[b][a][j])/(i+j));
^~~
merchant.cpp:53:6: note: suggested alternative: 'abs'
ans=max(ans,(DP[a][b][i]+DP[b][a][j])/(i+j));
^~~
abs
merchant.cpp:59:8: error: 'ans' was not declared in this scope
cout<<ans;
^~~
merchant.cpp:59:8: note: suggested alternative: 'abs'
cout<<ans;
^~~
abs