[solved] 1678A: wrong answer 986th numbers differ — expected: '0', found: '-1'

Revision en4, by setuid0, 2022-05-08 22:15:09

Problem: 1678A - Tokitsukaze and All Zero Sequence

Verdict: Wrong answer on test 8

Checker comment: wrong answer 986th numbers differ — expected: '0', found: '-1'

This is my submission: 156338916

1: When scrolling through the submission list, including other contenders, I didn't find another verdict with 'Wrong answer on test 8'. (At least not so far, I will continue looking for it.)

2: I tried to use submit again without a "\n" at the end. Same verdict.

3: Memory looks okay.

4: Time looks okay.

5: When looking through the testcase details, is there a way to see the exact testcase input/output instead of the '...'?

6: Numbers aren't to big for int, so long or long long isn't needed.

7: Could there be a problem with my size_t in the for loop?

8: What am I missing here?

Any help regarding this is highly appreciated.

Kind regards and happy coding,

setuid0

edit: This is the corrected and accepted solution:156359415 The Problem was the while loop for all elements zero. Thanks for the help!

Tags 1678a, 986th numbers differ

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English setuid0 2022-05-08 22:15:09 163 added a solved 'edit:' at the end and [solved] in the subscription.
en3 English setuid0 2022-05-08 21:41:25 0 This is my submission: [submission:156338916]
en2 English setuid0 2022-05-08 21:36:46 2 This is my submission: [submission:156338916]
en1 English setuid0 2022-05-08 21:29:19 972 Initial revision (published)