1 | for (int c0 = 1; c0 <= 18; c0 += 1) { |
---|---|
2 | if (c0 >= 2 && c0 <= 9) { |
3 | for (int c1 = 1; c1 <= 9; c1 += 1) { |
4 | if (c0 % 2 == 0) |
5 | s0(c1, c0 / 2); |
6 | s1(c1, c0); |
7 | } |
8 | } else if (c0 == 1) { |
9 | for (int c1 = 1; c1 <= 9; c1 += 1) |
10 | s1(c1, 1); |
11 | } else if (c0 % 2 == 0) { |
12 | for (int c1 = 1; c1 <= 9; c1 += 1) |
13 | s0(c1, c0 / 2); |
14 | } |
15 | } |
16 |