for (int i = 0; i < m; i++) for (int j = i + 1; j < n; j++) doSomethingWithIandJ(i, j);
doSomethingWithIandJ
for
int
(i,j)
doSomething()
p>1
n
m
doSomething
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)