QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#758193#4633. Coprime Matricesucup-team3407#WA 0ms3820kbC++17666b2024-11-17 16:38:462024-11-17 16:38:47

详细

Test #1:

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

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: 3820kb

input:

1 1 1 1 1

output:

Yes
1

result:

ok OK, Accepted.

Test #3:

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

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
20 21 24

result:

ok OK, Accepted.

Test #4:

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

input:

7 6 7 2 28

output:

Yes
40 43 44 47 48 2
41 42 45 46 49 1
3 6 7 10 11 14
4 5 8 9 12 13
15 18 19 22 23 26
16 17 20 21 24 25
27 28 29 30 31 32

result:

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