45#第3题的计算结果:80个解
***4x4幻方计算器(控制台简易版)***
显示问题数字
00 00 00 00
00 02 15 00
00 00 00 00
00 00 00 00
显示问题的全部解
cnt= 1:
6,11, 8, 9
12, 2,15, 5
13, 7,10, 4
3,14, 1,16
cnt= 2:
6,11, 8, 9
13, 2,15, 4
12, 7,10, 5
3,14, 1,16
cnt= 3:
7,11, 6,10
9, 2,15, 8
14, 5,12, 3
4,16, 1,13
cnt= 4:
7,11, 6,10
12, 2,15, 5
14, 8, 9, 3
1,13, 4,16
cnt= 5:
7,11, 6,10
14, 2,15, 3
9, 5,12, 8
4,16, 1,13
cnt= 6:
7,11, 6,10
14, 2,15, 3
12, 8, 9, 5
1,13, 4,16
cnt= 7:
7,13, 4,10
9, 2,15, 8
12, 3,14, 5
6,16, 1,11
cnt= 8:
7,13, 4,10
12, 2,15, 5
9, 3,14, 8
6,16, 1,11
cnt= 9:
7,13, 4,10
12, 2,15, 5
14, 8, 9, 3
1,11, 6,16
cnt= 10:
7,13, 4,10
14, 2,15, 3
12, 8, 9, 5
1,11, 6,16
cnt= 11:
7,16, 1,10
9, 2,15, 8
12, 3,14, 5
6,13, 4,11
cnt= 12:
7,16, 1,10
9, 2,15, 8
14, 5,12, 3
4,11, 6,13
cnt= 13:
7,16, 1,10
12, 2,15, 5
9, 3,14, 8
6,13, 4,11
cnt= 14:
7,16, 1,10
14, 2,15, 3
9, 5,12, 8
4,11, 6,13
cnt= 15:
8, 9, 6,11
12, 2,15, 5
13, 7,10, 4
1,16, 3,14
cnt= 16:
8, 9, 6,11
13, 2,15, 4
12, 7,10, 5
1,16, 3,14
cnt= 17:
9,11, 6, 8
5, 2,15,12
16, 7,10, 1
4,14, 3,13
cnt= 18:
9,11, 6, 8
16, 2,15, 1
5, 7,10,12
4,14, 3,13
cnt= 19:
9,14, 3, 8
5, 2,15,12
16, 7,10, 1
4,11, 6,13
cnt= 20:
9,14, 3, 8
16, 2,15, 1
5, 7,10,12
4,11, 6,13
cnt= 21:
10, 7,12, 5
8, 2,15, 9
13,11, 6, 4
3,14, 1,16
cnt= 22:
10, 7,12, 5
13, 2,15, 4
8,11, 6, 9
3,14, 1,16
cnt= 23:
11, 7,10, 6
5, 2,15,12
14, 9, 8, 3
4,16, 1,13
cnt= 24:
11, 7,10, 6
8, 2,15, 9
14,12, 5, 3
1,13, 4,16
cnt= 25:
11, 7,10, 6
14, 2,15, 3
5, 9, 8,12
4,16, 1,13
cnt= 26:
11, 7,10, 6
14, 2,15, 3
8,12, 5, 9
1,13, 4,16
cnt= 27:
11,13, 4, 6
5, 2,15,12
8, 3,14, 9
10,16, 1, 7
cnt= 28:
11,13, 4, 6
8, 2,15, 9
5, 3,14,12
10,16, 1, 7
cnt= 29:
11,13, 4, 6
8, 2,15, 9
14,12, 5, 3
1, 7,10,16
cnt= 30:
11,13, 4, 6
14, 2,15, 3
8,12, 5, 9
1, 7,10,16
cnt= 31:
11,16, 1, 6
5, 2,15,12
8, 3,14, 9
10,13, 4, 7
cnt= 32:
11,16, 1, 6
5, 2,15,12
14, 9, 8, 3
4, 7,10,13
cnt= 33:
11,16, 1, 6
8, 2,15, 9
5, 3,14,12
10,13, 4, 7
cnt= 34:
11,16, 1, 6
14, 2,15, 3
5, 9, 8,12
4, 7,10,13
cnt= 35:
12, 5,10, 7
8, 2,15, 9
13,11, 6, 4
1,16, 3,14
cnt= 36:
12, 5,10, 7
13, 2,15, 4
8,11, 6, 9
1,16, 3,14
cnt= 37:
12, 8, 9, 5
7, 2,15,10
14,13, 4, 3
1,11, 6,16
cnt= 38:
12, 8, 9, 5
14, 2,15, 3
7,13, 4,10
1,11, 6,16
cnt= 39:
12,11, 6, 5
7, 2,15,10
14,13, 4, 3
1, 8, 9,16
cnt= 40:
12,11, 6, 5
14, 2,15, 3
7,13, 4,10
1, 8, 9,16
cnt= 41:
13, 7,10, 4
3, 2,15,14
12, 9, 8, 5
6,16, 1,11
cnt= 42:
13, 7,10, 4
8, 2,15, 9
12,14, 3, 5
1,11, 6,16
cnt= 43:
13, 7,10, 4
12, 2,15, 5
3, 9, 8,14
6,16, 1,11
cnt= 44:
13, 7,10, 4
12, 2,15, 5
8,14, 3, 9
1,11, 6,16
cnt= 45:
13,11, 6, 4
1, 2,15,16
12, 7,10, 5
8,14, 3, 9
cnt= 46:
13,11, 6, 4
3, 2,15,14
8, 5,12, 9
10,16, 1, 7
cnt= 47:
13,11, 6, 4
8, 2,15, 9
3, 5,12,14
10,16, 1, 7
cnt= 48:
13,11, 6, 4
8, 2,15, 9
12,14, 3, 5
1, 7,10,16
cnt= 49:
13,11, 6, 4
12, 2,15, 5
1, 7,10,16
8,14, 3, 9
cnt= 50:
13,11, 6, 4
12, 2,15, 5
8,14, 3, 9
1, 7,10,16
cnt= 51:
13,14, 3, 4
1, 2,15,16
12, 7,10, 5
8,11, 6, 9
cnt= 52:
13,14, 3, 4
12, 2,15, 5
1, 7,10,16
8,11, 6, 9
cnt= 53:
13,16, 1, 4
3, 2,15,14
8, 5,12, 9
10,11, 6, 7
cnt= 54:
13,16, 1, 4
3, 2,15,14
12, 9, 8, 5
6, 7,10,11
cnt= 55:
13,16, 1, 4
8, 2,15, 9
3, 5,12,14
10,11, 6, 7
cnt= 56:
13,16, 1, 4
12, 2,15, 5
3, 9, 8,14
6, 7,10,11
cnt= 57:
14,16, 3, 1
4, 2,15,13
5, 7,10,12
11, 9, 6, 8
cnt= 58:
14,16, 3, 1
4, 2,15,13
9,11, 6, 8
7, 5,10,12
cnt= 59:
14,16, 3, 1
5, 2,15,12
4, 7,10,13
11, 9, 6, 8
cnt= 60:
14,16, 3, 1
9, 2,15, 8
4,11, 6,13
7, 5,10,12
cnt= 61:
16, 7,10, 1
3, 2,15,14
9,12, 5, 8
6,13, 4,11
cnt= 62:
16, 7,10, 1
5, 2,15,12
9,14, 3, 8
4,11, 6,13
cnt= 63:
16, 7,10, 1
9, 2,15, 8
3,12, 5,14
6,13, 4,11
cnt= 64:
16, 7,10, 1
9, 2,15, 8
5,14, 3,12
4,11, 6,13
cnt= 65:
16, 8, 9, 1
3, 2,15,14
10,13, 4, 7
5,11, 6,12
cnt= 66:
16, 8, 9, 1
10, 2,15, 7
3,13, 4,14
5,11, 6,12
cnt= 67:
16,11, 6, 1
3, 2,15,14
5, 8, 9,12
10,13, 4, 7
cnt= 68:
16,11, 6, 1
3, 2,15,14
10,13, 4, 7
5, 8, 9,12
cnt= 69:
16,11, 6, 1
5, 2,15,12
3, 8, 9,14
10,13, 4, 7
cnt= 70:
16,11, 6, 1
5, 2,15,12
9,14, 3, 8
4, 7,10,13
cnt= 71:
16,11, 6, 1
9, 2,15, 8
5,14, 3,12
4, 7,10,13
cnt= 72:
16,11, 6, 1
10, 2,15, 7
3,13, 4,14
5, 8, 9,12
cnt= 73:
16,13, 4, 1
3, 2,15,14
5, 8, 9,12
10,11, 6, 7
cnt= 74:
16,13, 4, 1
3, 2,15,14
9,12, 5, 8
6, 7,10,11
cnt= 75:
16,13, 4, 1
5, 2,15,12
3, 8, 9,14
10,11, 6, 7
cnt= 76:
16,13, 4, 1
9, 2,15, 8
3,12, 5,14
6, 7,10,11
cnt= 77:
16,14, 1, 3
4, 2,15,13
5, 7,10,12
9,11, 8, 6
cnt= 78:
16,14, 1, 3
4, 2,15,13
9,11, 6, 8
5, 7,12,10
cnt= 79:
16,14, 1, 3
5, 2,15,12
4, 7,10,13
9,11, 8, 6
cnt= 80:
16,14, 1, 3
9, 2,15, 8
4,11, 6,13
5, 7,12,10
total= 80 |