Can someone explain what's going on with the tests in Task A Codeforces Round 1004 (Div. 2)?

Revision en7, by Qw04_Dragoknight, 2025-02-11 21:10:14

 / This is my first post on codeforces, so I apologize for the quality. In the last 1004th round, I tilted hard because of Task A. I think there's a mistake in the tesas here. Can someone explain me why I got WA in test case 2. There was x = 1 and y = 9. So if we take n=9 S(9)=9 and S(n+1)=S(10)=1, and the answer is YES.

Tags round 1004 (div. 2)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en9 English Qw04_Dragoknight 2025-02-11 21:11:49 2 Tiny change: 'in the tesas here. Ca' -> 'in the tests here. Ca'
en8 English Qw04_Dragoknight 2025-02-11 21:10:58 96
en7 English Qw04_Dragoknight 2025-02-11 21:10:14 1 Tiny change: '30.png)\n//\nThis is' -> '30.png)\n/\nThis is'
en6 English Qw04_Dragoknight 2025-02-11 21:09:30 4 Tiny change: '430.png)\nThis is ' -> '430.png)\n//\nThis is '
en5 English Qw04_Dragoknight 2025-02-11 21:07:25 2 Tiny change: 'd2430.png)This is my' -> 'd2430.png)\nThis is my'
en4 English Qw04_Dragoknight 2025-02-11 21:06:49 71 Tiny change: 'This is my' -> '![ ](https://codeforces.net/d6ff75/WHY_WA.png)This is my' (published)
en3 English Qw04_Dragoknight 2025-02-11 21:05:24 0 (saved to drafts)
en2 English Qw04_Dragoknight 2025-02-11 21:05:00 0 https://codeforces.net/d6ff75/WHY_WA.png
en1 English Qw04_Dragoknight 2025-02-11 21:04:00 411 Initial revision (published)