Help Needed in a question [SOLVED]

Правка en4, от 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 :(

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский Don_quixxote 2024-07-16 06:25:35 9
en3 Английский Don_quixxote 2024-07-15 23:43:28 32 Tiny change: ' = "10111", even tho' -> ' = "10111" in this problem [problem:1879C], even tho'
en2 Английский Don_quixxote 2024-07-15 23:41:54 95
en1 Английский Don_quixxote 2024-07-15 23:40:36 257 Initial revision (published)