QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#801992#9874. Matrix Constructionucup-team5284#WA 0ms3944kbC++141.9kb2024-12-07 11:13:182024-12-07 11:13:18

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3732kb

input:

2
1 1
2 3

output:

Yes
1 
Yes
6 4 2 
5 3 1 

result:

ok All test cases passed. (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3944kb

input:

361
4 9
11 12
16 14
3 7
17 13
1 19
12 3
15 19
11 3
8 18
13 10
8 13
9 18
14 11
7 13
6 16
12 13
1 6
11 15
18 19
5 6
17 19
2 3
17 11
16 19
6 14
5 9
7 2
5 11
15 16
3 15
7 11
16 2
19 15
5 19
2 17
13 12
3 5
19 14
6 3
18 2
16 4
6 8
10 9
17 4
5 16
17 9
16 11
6 9
16 5
3 19
18 9
13 9
12 19
6 13
17 15
13 7
12 ...

output:

Yes
36 34 32 30 28 26 24 22 20 
35 33 31 29 27 25 23 21 19 
18 16 14 12 10 8 6 4 2 
17 15 13 11 9 7 5 3 1 
Yes
131 132 129 130 127 128 125 126 123 124 121 122
119 120 117 118 115 116 113 114 111 112 109 110
107 108 105 106 103 104 101 102 99 100 97 98
95 96 93 94 91 92 89 90 87 88 85 86
83 84 81 82 ...

result:

wrong answer Duplicate sum found for adjacent elements at (2,1) and (3,1) (test case 3)