QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#51187#4633. Coprime MatricesZhaoZiLongWA 3ms5620kbC++112.3kb2022-10-01 13:20:132022-10-01 13:20:14

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 5620kb

input:

3 3 2 1 3

output:

Yes
4 5 6
3 2 1
7 8 9

result:

ok OK, Accepted.

Test #2:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

1 1 1 1 1

output:

Yes
1

result:

ok OK, Accepted.

Test #3:

score: 0
Accepted
time: 2ms
memory: 3616kb

input:

8 3 4 2 9

output:

Yes
1 2 3
6 5 4
10 12 11
7 9 8
13 14 15
18 17 16
19 20 21
22 23 24

result:

ok OK, Accepted.

Test #4:

score: 0
Accepted
time: 1ms
memory: 5616kb

input:

7 6 7 2 28

output:

Yes
1 2 3 4 5 6
12 11 10 9 8 7
13 14 15 16 17 18
24 23 22 21 20 19
37 38 39 40 41 42
36 35 34 33 32 31
25 28 27 26 29 30

result:

ok OK, Accepted.

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 5612kb

input:

6 8 1 2 7

output:

No

result:

wrong answer First Line not Yes