QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#518772#9167. Coprime Arrayucup-team1782AC ✓0ms3720kbC++14796b2024-08-14 08:49:592024-08-14 08:50:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9 6

output:

3
-7 -7 23

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-13 27

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
29 999999971

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
-1 3

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
-350442319 999999983

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
-33396673 66793351

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
-48205841 -48205841 144617527

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
-251037071 502074149

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
-30022919 60045839

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
-63639283 127278581

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
-76579015 -76579015 229737047

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
-40423665 -40423665 121270999

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
-449277308 898554617

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
-81665965 -81665965 244997899

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
-470578679 941157359

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
-58450331 116900671

result:

ok Correct

Test #17:

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

input:

125896113 323676210

output:

3
-125896103 -125896103 377688319

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
-381905339 763810687

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

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

input:

35787885 270845190

output:

3
-35787883 -35787883 107363651

result:

ok Correct

Extra Test:

score: 0
Extra Test Passed