QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#526850#9167. Coprime Arrayucup-team4464#AC ✓0ms3716kbC++14569b2024-08-21 22:35:162024-10-14 07:52:40

详细

Test #1:

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

input:

9 6

output:

3
1 7 1

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
9 5

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
500000021 499999979

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
3 -1

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
324778841 324778823

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
16698349 16698329

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
1 24102931 24102913

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
125518551 125518527

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
15011467 15011453

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
31819679 31819619

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
1 38289529 38289487

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
1 20211837 20211831

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
224638658 224638651

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
1 40832993 40832975

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
235289357 235289323

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
29225176 29225164

result:

ok Correct

Test #17:

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

input:

125896113 323676210

output:

3
1 62948059 62948053

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
190952689 190952659

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

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

input:

35787885 270845190

output:

3
1 17893951 17893933

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed