imesecan | May.16.2016 at 09:12:56 AM | |
0 | --- Test 1 --- 10 8 5 6 8 10 9 1 2 9 8 2 1 6 10 8 1 5 7 9 3 5 6 8 8 2 4 1 6 5 7 4 4 10 8 5 6 3 5 10 2 7 7 2 2 2 2 2 1 8 5 6 4 9 6 1 9 6 4 1 5 1 4 6 4 10 10 4 9 8 1 10 9 4 4 4 2 3 2 4 1 6 8 D 1 R 4 R 1 D 4 U 3 L 4 U 4 L 1
--- Pattern --- 51
|
imesecan | May.16.2016 at 09:13:26 AM | |
1 | Test case 1 is real test case 1. Others are just sample test cases.
Sample Input 2 8 15 3 6 9 6 1 1 10 2 1 7 3 10 4 4 4 3 8 5 8 5 9 2 6 4 7 2 4 4 7 4 8 6 7 1 2 3 10 8 8 8 8 7 2 9 8 8 3 8 4 10 7 5 5 7 9 5 2 3 1 8 3 8 10 4 3 6 2 7 7 4 8 1 6 1 2 8 5 3 3 8 10 5 1 5 4 6 8 8 10 9 9 3 2 3 9 5 8 3 9 7 10 4 8 10 4 9 4 5 3 8 7 2 7 7 10 1 6 10 6 3 10 R 5 D 2 U 1 L 1 R 3 U 2 R 2 L 4 D 2 L 1
Sample Output 2 42
|
imesecan | May.16.2016 at 09:13:41 AM | |
2 | Sample Input 3 15 12 2 4 5 4 8 2 6 2 9 10 5 10 4 1 3 8 10 6 7 8 1 2 1 3 3 8 4 5 7 2 1 1 9 10 7 6 4 5 1 5 10 2 6 6 3 8 2 4 9 3 6 1 1 3 6 10 2 10 5 10 2 8 10 3 2 6 6 4 1 8 9 1 7 2 4 7 10 6 9 2 6 1 4 10 4 2 6 8 7 9 3 8 9 1 7 10 7 5 10 10 1 10 2 5 6 9 1 2 10 8 1 4 3 2 4 5 7 8 3 6 5 2 10 9 1 3 5 9 2 3 2 10 7 5 1 1 8 3 9 3 5 4 10 8 4 7 4 7 3 5 3 9 3 10 6 2 3 6 1 4 6 3 10 2 10 10 3 9 4 1 8 8 7 7 4 7 7 8 1 4 15 D 6 R 6 R 4 D 4 L 2 L 3 R 4 L 3 U 1 U 5 D 7 R 5 D 5 L 3 U 7
Sample Output 3 91
|