QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513654#9167. Coprime Arrayucup-team154#WA 604ms4152kbC++202.6kb2024-08-10 18:54:322024-08-10 18:54:32

詳細信息

Test #1:

score: 100
Accepted
time: 87ms
memory: 4152kb

input:

9 6

output:

3
1 1 7

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
21 -7

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
222953567 777046433

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
468766019 -468766017

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
182728307 466829357

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
588522559 -555125881

result:

ok Correct

Test #7:

score: -100
Wrong Answer
time: 604ms
memory: 3924kb

input:

48205845 903124530

output:

3
593350997 789908921 -1335054073

result:

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