1 for (int c0 = 2; c0 <= n; c0 += 1) 2 for (int c1 = 1; c1 <= n; c1 += 1) { 3 for (int c3 = 1; c3 < min(c0, c1); c3 += 1) 4 s1(c3, c0, c1); 5 if (c0 >= c1 + 1) 6 s0(c1, c0); 7 } 8