QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#514495#9167. Coprime Arrayucup-team3188#AC ✓223ms3904kbC++201.8kb2024-08-11 02:15:052024-10-14 07:52:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 166ms
memory: 3624kb

input:

9 6

output:

3
99087317 216964835 -316052143

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
791344613 -791344599

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
791344613 208655387

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
791344613 -791344611

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
602686283 46871381

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
93715957 -60319279

result:

ok Correct

Test #7:

score: 0
Accepted
time: 223ms
memory: 3888kb

input:

48205845 903124530

output:

3
380345803 341364061 -673504019

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
333695877 -82658799

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
93715957 -63693037

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
743765777 -680126479

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
430321181 490899047 -844641211

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
462116495 167412473 -589105299

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
551762942 -102485633

result:

ok Correct

Test #14:

score: 0
Accepted
time: 197ms
memory: 3700kb

input:

81665969 919836918

output:

3
229971641 202299679 -350605351

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
706415761 -235837081

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
706415761 -647965421

result:

ok Correct

Test #17:

score: 0
Accepted
time: 188ms
memory: 3840kb

input:

125896113 323676210

output:

3
83019191 131785241 -88908319

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
32482921 349422427

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

score: 0
Accepted
time: 187ms
memory: 3696kb

input:

35787885 270845190

output:

3
35675117 211290929 -211178161

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed