QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#514050#9167. Coprime Arrayucup-team152#WA 106ms3704kbC++231.1kb2024-08-10 21:27:102024-08-10 21:27:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 22ms
memory: 3704kb

input:

9 6

output:

3
-2993 -2993 5995

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-999965 999979

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
222092921 777907079

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
999000001 -998999999

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
932437721 -282880057

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
776360891 -742964213

result:

ok Correct

Test #7:

score: -100
Wrong Answer
time: 106ms
memory: 3556kb

input:

48205845 903124530

output:

3
903121531 903121531 -1758037217

result:

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