QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512494#9167. Coprime Arrayucup-team3537#AC ✓0ms3704kbC++141.2kb2024-08-10 14:41:012024-10-14 07:52:00

详细

Test #1:

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

input:

9 6

output:

3
505 -497 1

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-499 513

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
29 999999971

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
-499 501

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
-499 649558163

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
-479 33397157

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
48206327 -499 17

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
-493 251037571

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
-499 30023419

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
-463 63639761

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
76579511 -499 5

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
40424165 -499 3

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
-493 449277802

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
81666467 -499 1

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
-491 470579171

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
-491 58450831

result:

ok Correct

Test #17:

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

input:

125896113 323676210

output:

3
125896609 -497 1

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
-479 381905827

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

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

input:

35787885 270845190

output:

3
35788363 -491 13

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed