speeding up nested for loop

Printable View