QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#507143#8427. Continue the SequenceZhaoZiLongWA 61ms104648kbC++2311.3kb2024-08-06 11:39:362024-08-06 11:39:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 49ms
memory: 83300kb

input:

5 10
1 4 9 16 25

output:

36 49 64 81 100 121 144 169 196 225

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 49ms
memory: 83224kb

input:

3 3
0 0 0

output:

0 0 0

result:

ok 3 number(s): "0 0 0"

Test #3:

score: 0
Accepted
time: 61ms
memory: 83616kb

input:

5 10
1 2 4 8 16

output:

31 57 99 163 256 386 562 794 1093 1471

result:

ok 10 numbers

Test #4:

score: 0
Accepted
time: 55ms
memory: 83904kb

input:

3 1
2 1 0

output:

998244352

result:

ok 1 number(s): "998244352"

Test #5:

score: 0
Accepted
time: 56ms
memory: 84540kb

input:

5 10
571437886 356409568 754470076 473530488 152780912

output:

366201780 624319495 372450784 987191404 785194377 14391755 853994620 426782613 781547464 907138168

result:

ok 10 numbers

Test #6:

score: -100
Wrong Answer
time: 52ms
memory: 104648kb

input:

20 100
671245968 143875763 443360205 619711 821803529 515842308 103683744 380727964 940211812 459756652 410579488 559633745 101518444 988979348 719849068 311676260 72467513 988488216 852833591 128243244

output:

449628407 371970163 221846089 885581928 269665948 520550657 196155852 988434661 847122503 108696137 922021924 472539800 507433623 215397930 329168511 228715799 576523928 205156564 474809797 800522000 718319592 130850111 900947791 237935365 555457871 62837948 146384249 126542813 778562828 119015510 2...

result:

wrong answer 1st numbers differ - expected: '811419259', found: '449628407'