QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#542999#9167. Coprime ArrayMaMengQiWA 1ms3660kbC++20720b2024-09-01 12:35:062024-09-01 12:35:06

详细

Test #1:

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

input:

9 6

output:

3
1 -9989 9997

result:

ok Correct

Test #2:

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

input:

14 34

output:

2
-9977 9991

result:

ok Correct

Test #3:

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

input:

1000000000 223092870

output:

2
999990059 9941

result:

ok Correct

Test #4:

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

input:

2 1000000000

output:

2
-9991 9993

result:

ok Correct

Test #5:

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

input:

649557664 933437700

output:

2
649547681 9983

result:

ok Correct

Test #6:

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

input:

33396678 777360870

output:

2
33386687 9991

result:

ok Correct

Test #7:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

48205845 903124530

output:

3
1 48195853 9991

result:

ok Correct

Test #8:

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

input:

251037078 505905400

output:

2
251027087 9991

result:

ok Correct

Test #9:

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

input:

30022920 172746860

output:

2
30012927 9993

result:

ok Correct

Test #10:

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

input:

63639298 808058790

output:

2
63629327 9971

result:

ok Correct

Test #11:

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

input:

76579017 362768406

output:

3
1 76569043 9973

result:

ok Correct

Test #12:

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

input:

40423669 121437778

output:

3
1 40413671 9997

result:

ok Correct

Test #13:

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

input:

449277309 720915195

output:

2
449277307 2

result:

ok Correct

Test #14:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

81665969 919836918

output:

3
1 81655985 9983

result:

ok Correct

Test #15:

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

input:

470578680 280387800

output:

2
470568683 9997

result:

ok Correct

Test #16:

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

input:

58450340 803305503

output:

2
58440355 9985

result:

ok Correct

Test #17:

score: 0
Accepted
time: 1ms
memory: 3544kb

input:

125896113 323676210

output:

3
1 125886121 9991

result:

ok Correct

Test #18:

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

input:

381905348 434752500

output:

2
381895357 9991

result:

ok Correct

Test #19:

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

input:

78916498 653897673

output:

1
78916498

result:

ok Correct

Test #20:

score: 0
Accepted
time: 1ms
memory: 3660kb

input:

35787885 270845190

output:

3
1 35777887 9997

result:

ok Correct

Extra Test:

score: -3
Extra Test Failed : Wrong Answer on 3
time: 0ms
memory: 3604kb

input:

657 45

output:

2
655 2

result:

wrong answer Element at position 1 is not coprime to x