QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513728#9167. Coprime Arrayucup-team121#AC ✓903ms3856kbC++231.4kb2024-08-10 19:18:592024-10-14 07:52:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 902ms
memory: 3540kb

input:

9 6

output:

3
-383658553 -57304975 440963537

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-383656933 383656947

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
357259613 642740387

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
-383660821 383660823

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
-71694007 721251671

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
-668573419 701970097

result:

ok Correct

Test #7:

score: 0
Accepted
time: 902ms
memory: 3668kb

input:

48205845 903124530

output:

3
569631527 -995912179 474486497

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
-605712059 856749137

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
-653728209 683751129

result:

ok Correct

Test #10:

score: 0
Accepted
time: 901ms
memory: 3856kb

input:

63639298 808058790

output:

2
-631082119 694721417

result:

ok Correct

Test #11:

score: 0
Accepted
time: 902ms
memory: 3768kb

input:

76579017 362768406

output:

3
-576532753 -122143831 775255601

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
-636637867 446031571 231029965

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
964976291 -515698982

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
261368531 -674876497 495173935

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
24784847 445793833

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
569260987 -510810647

result:

ok Correct

Test #17:

score: 0
Accepted
time: 903ms
memory: 3772kb

input:

125896113 323676210

output:

3
-758698043 701862613 182731543

result:

ok Correct

Test #18:

score: 0
Accepted
time: 899ms
memory: 3604kb

input:

381905348 434752500

output:

2
-142976003 524881351

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

score: 0
Accepted
time: 902ms
memory: 3668kb

input:

35787885 270845190

output:

3
-824440499 376135603 484092781

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed