QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#721632#9167. Coprime ArrayHuangHanShengWA 1ms3712kbC++11568b2024-11-07 16:30:022024-11-07 16:30:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9 6

output:

3
1 1 7

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
7 7

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
499999979 500000021

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
1 1

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
324778823 324778841

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
16698329 16698349

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
-1 -1 48205847

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
125518539 125518539

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
15011453 15011467

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
31819649 31819649

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
1 1 76579015

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
1 1 40423667

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
224638651 224638658

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
-1 -1 81665971

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
235289323 235289357

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
29225164 29225176

result:

ok Correct

Test #17:

score: -100
Wrong Answer
time: 0ms
memory: 3644kb

input:

125896113 323676210

output:

3
1145 114514 114514

result:

wrong answer Element at position 1 is not coprime to x