sort

Hi
If you have several pairs of squares and to each side of the square must be numeric.
Together how that number is the same side of the face.
Please help me

Like

2589
8631
3291
9438
3954
5177
7123
2846
1447
4792
9348
4661
4710
1263
6887
8123
1
2
3
4
5
6
7
8
9
10
11
12
13
14

 	5			6			2			4	
2		8	8		3	3		9	9		3
	9			1			1			8	
	9			1			1			8	
3		5	5		7	7		2	2		4
	4			7			3			6	
	4			7			3			6	
1		4	4		9	9		4	4		6
	7			2			8			1	
	7			2			8			1	
4		1	1		6	6		8	8		2
	0			3			7			3	


Thank
Suppose each square of four digits. Now, some couples are square
1
2
3
4
5

 	5		
2		8
	9


1
2
3
4

 	6	
8		3
	1


1
2
3
       9
3		5
	4


If the digits are equally met.
They are together
1
2
3
4
5
6
7
8

 	5		       	6
2		8    8	         	3
	9			1
	9
3		5	
	4

Algorithms need it.
Topic archived. No new replies allowed.