QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513630#9167. Coprime Arrayucup-team154#WA 130ms4068kbC++202.6kb2024-08-10 18:48:532024-08-10 18:48:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 17ms
memory: 4068kb

input:

9 6

output:

3
5 5 -1

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
23 -9

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
213004223 786995777

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
77380469 -77380467

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
818997353 -169439689

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
694129171 -660732493

result:

ok Correct

Test #7:

score: 0
Accepted
time: 121ms
memory: 3924kb

input:

48205845 903124530

output:

3
5075561 637810871 -594680587

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
224384759 26652319

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
34069949 -4047029

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
671694461 -608055163

result:

ok Correct

Test #11:

score: 0
Accepted
time: 118ms
memory: 3972kb

input:

76579017 362768406

output:

3
153556855 153556855 -230534693

result:

ok Correct

Test #12:

score: 0
Accepted
time: 130ms
memory: 3928kb

input:

40423669 121437778

output:

3
22173805 27061231 -8811367

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
347096686 102180623

result:

ok Correct

Test #14:

score: -100
Wrong Answer
time: 125ms
memory: 4036kb

input:

81665969 919836918

output:

3
873858001 910133069 -1702325101

result:

wrong answer Integer element a[3] equals to -1702325101, violates the range [-10^9, 10^9]