1 | for (int c0 = 1; c0 <= N; c0 += 1) |
---|---|
2 | S1(c0); |
3 | for (int c0 = N + 1; c0 <= 2 * N; c0 += 1) |
4 | for (int c1 = 1; c1 <= N; c1 += 1) |
5 | S2(c1, -N + c0); |
6 | for (int c0 = 2 * N + 1; c0 <= M + N; c0 += 1) { |
7 | for (int c1 = 1; c1 <= N; c1 += 1) |
8 | S3(c1, -2 * N + c0); |
9 | for (int c1 = 1; c1 <= N; c1 += 1) |
10 | S2(c1, -N + c0); |
11 | } |
12 | for (int c0 = M + N + 1; c0 <= M + 2 * N; c0 += 1) |
13 | for (int c1 = 1; c1 <= N; c1 += 1) |
14 | S3(c1, -2 * N + c0); |
15 |