BOI 2017 strings

Revision en1, by dimitris_rondo, 2018-06-10 19:40:48

Hello,

I tried to solve BOI 2017 strings, but I got 40/100. I do not pass subtasks 1, 2, 5, so there must be some bug in the second modification query, which is to reverse a substring of the string. I tried to debug it, but I could not find the error. Any help would be appriciated. Here is my code.

Thanks

Tags boi 2017, implicit treap, strings, bug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English dimitris_rondo 2018-06-10 19:40:48 439 Initial revision (published)