QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512992#9167. Coprime Arrayucup-team018#WA 0ms3812kbC++206.7kb2024-08-10 16:33:392024-08-10 16:33:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9 6

output:

3
-1 5 5 

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
1 13 

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
907244339 92755661 

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
1 1 

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
518576501 130981163 

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
-431867149 465263827 

result:

ok Correct

Test #7:

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

input:

48205845 903124530

output:

3
-805644421 97480109 756370157 

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
1 251037077 

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
-34549371 64572291 

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
-179568619 243207917 

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
33473441 33473441 9632135 

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
8485135 8485135 23453399 

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
73940021 375337288 

result:

ok Correct

Test #14:

score: -100
Wrong Answer
time: 0ms
memory: 3600kb

input:

81665969 919836918

output:

3
-1194501463 611104339 665063093 

result:

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