QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#758195#4633. Coprime Matricesucup-team3407#WA 0ms3776kbC++17666b2024-11-17 16:39:282024-11-17 16:39:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

1 1 1 1 1

output:

Yes
1

result:

ok OK, Accepted.

Test #3:

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

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

input:

7 6 7 2 28

output:

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

result:

wrong answer A[x][y] not Equal w