QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#247556#7619. Make SYSU Great Again Iucup-team1611#WA 1ms3852kbC++205.3kb2023-11-11 14:54:242023-11-11 14:54:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 6

output:

3 1
1 1
1 3
2 3
2 2
3 2

result:

ok The answer is correct.

Test #2:

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

input:

3 7

output:

3 1
1 1
1 3
2 3
2 2
3 2
1 2

result:

ok The answer is correct.

Test #3:

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

input:

2 4

output:

1 1
2 1
2 2
1 2

result:

ok The answer is correct.

Test #4:

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

input:

3 9

output:

3 1
1 1
1 3
2 3
2 2
3 2
1 2
2 1
3 3

result:

ok The answer is correct.

Test #5:

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

input:

10 20

output:

1 1
10 1
10 10
1 10
2 3
2 2
3 2
5 5
4 5
4 4
5 4
3 3
6 7
6 6
7 6
7 7
8 9
8 8
9 8
9 9

result:

ok The answer is correct.

Test #6:

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

input:

10 100

output:

1 1
10 1
10 10
1 10
2 3
2 2
3 2
5 5
4 5
4 4
5 4
3 3
6 7
6 6
7 6
7 7
8 9
8 8
9 8
9 9
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2 1
2 4
2 5
2 6
2 7
2 8
2 9
2 10
3 1
3 4
3 5
3 6
3 7
3 8
3 9
3 10
4 1
4 2
4 3
4 6
4 7
4 8
4 9
4 10
5 1
5 2
5 3
5 6
5 7
5 8
5 9
5 10
6 1
6 2
6 3
6 4
6 5
6 8
6 9
6 10
7 1
7 2
7 3
7 4
7 5...

result:

ok The answer is correct.

Test #7:

score: -100
Wrong Answer
time: 1ms
memory: 3564kb

input:

32 64

output:

1 1
32 1
32 32
1 32
2 3
2 2
3 2
5 5
4 5
4 4
5 4
3 3
6 7
6 6
7 6
7 7
8 9
8 8
9 8
11 11
10 11
10 10
11 10
9 9
12 13
12 12
13 12
13 13
14 15
14 14
15 14
17 17
16 17
16 16
17 16
15 15
18 19
18 18
19 18
19 19
20 21
20 20
21 20
23 23
22 23
22 22
23 22
21 21
24 25
24 24
25 24
25 25
26 27
26 26
27 26
29 29
...

result:

wrong answer The answer is wrong: The maximum common divisor of row 27 and column 1702306944 is not the same.