QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#801942#9874. Matrix Constructionucup-team2818#WA 2ms5852kbC++142.8kb2024-12-07 10:52:552024-12-07 10:52:56

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 5728kb

input:

2
1 1
2 3

output:

Yes
1 
Yes
1 3 5 
2 4 6 

result:

ok All test cases passed. (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 5852kb

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
1 3 6 10 14 18 22 26 30 
2 5 9 13 17 21 25 29 33 
4 8 12 16 20 24 28 32 35 
7 11 15 19 23 27 31 34 36 
Yes
1 3 6 10 15 21 28 36 45 55 66 77 
2 5 9 14 20 27 35 44 54 65 76 87 
4 8 13 19 26 34 43 53 64 75 86 96 
7 12 18 25 33 42 52 63 74 85 95 104 
11 17 24 32 41 51 62 73 84 94 103 111 
16 23 31 4...

result:

wrong answer Duplicated element found in the matrix. (test case 5)