QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#407358#8543. Periodic SequenceZhaoZiLongWA 14ms4332kbC++23293b2024-05-08 16:30:332024-05-08 16:30:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 1000000007

output:

1 3 6 11 19 

result:

ok 5 number(s): "1 3 6 11 19"

Test #2:

score: -100
Wrong Answer
time: 14ms
memory: 4332kb

input:

200000 567894337

output:

1 3 6 11 19 31 49 76 116 175 262 390 578 854 1259 1853 2724 4001 5873 8617 12639 18534 27174 39837 58396 85596 125460 183884 269509 394999 578914 848455 1243487 1822435 2670925 3914448 5736920 8407883 12322370 18059330 26467254 38789666 56849039 83316337 122106048 178955133 262271517 384377613 56333...

result:

wrong answer 6th numbers differ - expected: '33', found: '31'