You are viewing a single comment's thread. Return to all comments →
try this way
long long result = N; result*=(N-1); result/=2;
Journey to the Moon
You are viewing a single comment's thread. Return to all comments →
try this way