QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#514052#9167. Coprime Arrayucup-team152#WA 101ms3652kbC++231.1kb2024-08-10 21:28:092024-08-10 21:28:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 20ms
memory: 3564kb

input:

9 6

output:

3
-1993 -1993 3995

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-499965 499979

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
222592871 777407129

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
999500001 -999499999

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
932937701 -283380037

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
776860871 -743464193

result:

ok Correct

Test #7:

score: -100
Wrong Answer
time: 101ms
memory: 3644kb

input:

48205845 903124530

output:

3
903122531 903122531 -1758039217

result:

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