QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#722909#9167. Coprime ArrayMaMengQiAC ✓0ms3952kbC++17821b2024-11-07 20:34:232024-11-07 20:34:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9 6

output:

3
299999999 299999999 -599999989

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
499999999 -499999985

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
499999979 500000021

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
499999999 -499999997

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
499999997 149557667

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
499999999 -466603321

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
299999999 299999999 -551794153

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
499999999 -248962921

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
499999997 -469977077

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
499999979 -436360681

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
299999993 299999993 -523420969

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
299999999 299999999 -559576329

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
499999996 -50722687

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
299999993 299999993 -518334017

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
499999999 -29421319

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
499999999 -441549659

result:

ok Correct

Test #17:

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

input:

125896113 323676210

output:

3
299999993 299999993 -474103873

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
499999999 -118094651

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

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

input:

35787885 270845190

output:

3
299999999 299999999 -564212113

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed