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