QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#514048#9167. Coprime Arrayucup-team152#WA 108ms3716kbC++231.1kb2024-08-10 21:26:182024-08-10 21:26:19

详细

Test #1:

score: 100
Accepted
time: 21ms
memory: 3576kb

input:

9 6

output:

3
-2989 -2989 5987

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-999985 999999

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
999000017 999983

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
-999997 999999

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
648557681 999983

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
32396681 999997

result:

ok Correct

Test #7:

score: 0
Accepted
time: 94ms
memory: 3572kb

input:

48205845 903124530

output:

3
48202849 48202849 -48199853

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
250037087 999991

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
29022923 999997

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
62639351 999947

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
76576021 76576021 -76573025

result:

ok Correct

Test #12:

score: 0
Accepted
time: 108ms
memory: 3576kb

input:

40423669 121437778

output:

3
40420669 40420669 -40417669

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
448277311 999998

result:

ok Correct

Test #14:

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

input:

81665969 919836918

output:

3
81662969 81662969 -81659969

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
469578691 999989

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
57450340 1000000

result:

ok Correct

Test #17:

score: 0
Accepted
time: 99ms
memory: 3552kb

input:

125896113 323676210

output:

3
125893117 125893117 -125890121

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
380905351 999997

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

score: -100
Wrong Answer
time: 93ms
memory: 3708kb

input:

35787885 270845190

output:

3
35784887 35784887 -35781889

result:

wrong answer Element at position 3 is not coprime to x