You are viewing a single comment's thread. Return to all comments →
if you change to this then it will become shorter
int x=(N-1)*N/2; cout<<(x)<<"\n";
Seems like cookies are disabled on this browser, please enable them to open this website
Handshake
You are viewing a single comment's thread. Return to all comments →
if you change to this then it will become shorter
int x=(N-1)*N/2; cout<<(x)<<"\n";