Run time error in test case 2

Правка en1, от reaper28, 2020-06-06 08:35:58

question link : https://mirror.codeforces.com/problemset/problem/1196/D1 solution link : https://ideone.com/IfLK0U My Logic : if k<=2 checked directly else made all the three possible strings and used brute force to check all three and took minimum of them as the ans. please help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский reaper28 2020-06-06 08:35:58 309 Initial revision (published)