QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#543079#9167. Coprime ArrayGuanYunchangAC ✓0ms3868kbC++202.9kb2024-09-01 13:35:062024-09-01 13:35:06

详细

Test #1:

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

input:

9 6

output:

3
1 1 7

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
33 -19

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
374902529 625097471

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
999999999 -999999997

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
709412651 -59854987

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
777360869 -743964191

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
1 762638491 -714432647

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
505905399 -254868321

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
172746859 -142723939

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
808058789 -744419491

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
1 120922801 -44343785

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
1 82844103 -42420435

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
432549116 16728193

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
1 917975213 -836309245

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
280387799 190190881

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
624793168 -566342828

result:

ok Correct

Test #17:

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

input:

125896113 323676210

output:

3
1 215784139 -89888027

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
293637499 88267849

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

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

input:

35787885 270845190

output:

3
1 109197901 -73410017

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed