Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

reaper28's blog

By reaper28, history, 4 weeks ago, In English,

question link : solution link : 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

  • Vote: I like it
  • 0
  • Vote: I do not like it