Problem1178--璀灿光华

1178: 璀灿光华

Time Limit: 3 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 1
[Submit] [Status] [Web Board] [Creator:]

Description

Sample Input Copy

2
0 7 2 3
0 8 1 4
4 5 4 1
8 6 3 2
16 3 6 7
32 4 5 8
1 1 8 5
2 2 7 6

Sample Output Copy

0 12

HINT

Source/Category