1 for (int c1 = 1; c1 <= n; c1 += 1) 2 for (int c2 = 1; c2 <= m; c2 += 1) { 3 s0(1, c1, c2, 0); 4 s1(1, c1, c2, 0); 5 } 6 for (int c1 = 1; c1 <= n; c1 += 1) { 7 s3(2, c1, 0, 0); 8 s2(2, c1, 0, 0); 9 } 10 for (int c1 = 1; c1 <= m; c1 += 1) { 11 for (int c3 = 1; c3 <= n; c3 += 1) { 12 s4(3, c1, 1, c3); 13 s5(3, c1, 1, c3); 14 } 15 for (int c3 = 1; c3 <= n; c3 += 1) { 16 s7(3, c1, 2, c3); 17 s6(3, c1, 2, c3); 18 } 19 } 20 for (int c1 = 1; c1 <= m; c1 += 1) { 21 s8(4, c1, 0, 0); 22 s9(4, c1, 0, 0); 23 } 24