QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512131#9167. Coprime Arrayucup-team3746#AC ✓16ms11212kbPython3776b2024-08-10 13:37:332024-10-14 07:51:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 11104kb

input:

9 6

output:

3
1 -432076349 432076357

result:

ok Correct

Test #2:

score: 0
Accepted
time: 12ms
memory: 11208kb

input:

14 34

output:

2
544296543 -544296529

result:

ok Correct

Test #3:

score: 0
Accepted
time: 11ms
memory: 11048kb

input:

1000000000 223092870

output:

2
736551293 263448707

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
994236981 -994236979

result:

ok Correct

Test #5:

score: 0
Accepted
time: 10ms
memory: 11028kb

input:

649557664 933437700

output:

2
-346586443 996144107

result:

ok Correct

Test #6:

score: 0
Accepted
time: 7ms
memory: 11056kb

input:

33396678 777360870

output:

2
-727336459 760733137

result:

ok Correct

Test #7:

score: 0
Accepted
time: 11ms
memory: 11212kb

input:

48205845 903124530

output:

3
1 -389347043 437552887

result:

ok Correct

Test #8:

score: 0
Accepted
time: 7ms
memory: 11020kb

input:

251037078 505905400

output:

2
-672430651 923467729

result:

ok Correct

Test #9:

score: 0
Accepted
time: 15ms
memory: 11104kb

input:

30022920 172746860

output:

2
935306457 -905283537

result:

ok Correct

Test #10:

score: 0
Accepted
time: 7ms
memory: 11044kb

input:

63639298 808058790

output:

2
550869611 -487230313

result:

ok Correct

Test #11:

score: 0
Accepted
time: 15ms
memory: 10984kb

input:

76579017 362768406

output:

3
1 -47145803 123724819

result:

ok Correct

Test #12:

score: 0
Accepted
time: 16ms
memory: 10984kb

input:

40423669 121437778

output:

3
1 311441941 -271018273

result:

ok Correct

Test #13:

score: 0
Accepted
time: 3ms
memory: 11096kb

input:

449277309 720915195

output:

2
124433593 324843716

result:

ok Correct

Test #14:

score: 0
Accepted
time: 11ms
memory: 11052kb

input:

81665969 919836918

output:

3
1 -497371345 579037313

result:

ok Correct

Test #15:

score: 0
Accepted
time: 15ms
memory: 11056kb

input:

470578680 280387800

output:

2
98730389 371848291

result:

ok Correct

Test #16:

score: 0
Accepted
time: 15ms
memory: 11112kb

input:

58450340 803305503

output:

2
826235686 -767785346

result:

ok Correct

Test #17:

score: 0
Accepted
time: 15ms
memory: 11044kb

input:

125896113 323676210

output:

3
1 261371173 -135475061

result:

ok Correct

Test #18:

score: 0
Accepted
time: 11ms
memory: 11100kb

input:

381905348 434752500

output:

2
334036357 47868991

result:

ok Correct

Test #19:

score: 0
Accepted
time: 6ms
memory: 11048kb

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

score: 0
Accepted
time: 9ms
memory: 11056kb

input:

35787885 270845190

output:

3
1 -559662773 595450657

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed