QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#51194#4633. Coprime MatricesZhaoZiLongWA 2ms3712kbC++11789b2022-10-01 13:39:362022-10-01 13:39:39

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3644kb

input:

3 3 2 1 3

output:

Yes
2 5 6
3 4 7
8 9 1

result:

ok OK, Accepted.

Test #2:

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

input:

1 1 1 1 1

output:

Yes
1

result:

ok OK, Accepted.

Test #3:

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

input:

8 3 4 2 9

output:

Yes
1 4 5
2 3 6
7 10 11
8 9 12
13 16 17
14 15 18
19 22 23
25 26 27

result:

wrong answer Integer parameter [name=A[i][j]] equals to 25, violates the range [1, 24]