Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

HaiZuka's blog

By HaiZuka, history, 6 years ago, In English

1234F - Yet Another Substring Reverse

Hello my friends.

I am having trouble with the problem 1234F - Yet Another Substring Reverse.

It seems my approach is not optimal so my program can only be accepted with small trials. I also consulted my friends but to no avail. Can you come up with a way to solve this problem?

Thank you very much.

  • Vote: I like it
  • -4
  • Vote: I do not like it

»
6 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Check the editorial.