Help Needed in a question [SOLVED]

Revision en4, by Don_quixxote, 2024-07-16 06:25:35

Can Somebody explain why my code is giving WA on 2nd TC on testCase 38 which is s = "10111" in this problem 1879C - Make it Alternating, even tho i am getting the same output as author's Code. My Submission :- 270768936 Authors code :- 270768479

Output according to author's code is : 2 6 (for 10111) My code also gives the same answer :(

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Don_quixxote 2024-07-16 06:25:35 9
en3 English Don_quixxote 2024-07-15 23:43:28 32 Tiny change: ' = "10111", even tho' -> ' = "10111" in this problem [problem:1879C], even tho'
en2 English Don_quixxote 2024-07-15 23:41:54 95
en1 English Don_quixxote 2024-07-15 23:40:36 257 Initial revision (published)