QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#247903#7619. Make SYSU Great Again Iucup-team1577#WA 1ms3500kbC++173.5kb2023-11-11 16:29:302023-11-11 16:29:32

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3396kb

input:

3 6

output:

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

result:

ok The answer is correct.

Test #2:

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

input:

3 7

output:

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

result:

ok The answer is correct.

Test #3:

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

input:

2 4

output:

1 1
1 2
2 2
2 1

result:

ok The answer is correct.

Test #4:

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

input:

3 9

output:

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

result:

ok The answer is correct.

Test #5:

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

input:

10 20

output:

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

result:

ok The answer is correct.

Test #6:

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

input:

10 100

output:

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

result:

ok The answer is correct.

Test #7:

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

input:

32 64

output:

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

result:

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