Runtime error on corner case?

Правка en1, от ASawe2.6Main, 2022-05-31 02:10:45

Hello, I've been attempting to solve this question: https://mirror.codeforces.com/contest/1666/problem/D

So far, I've deduced that it is possible to simulate the question to construct an answer, which will be compared with the second string. However, I'm unsure on what case or cases will cause my code to fail, but I'm assuming it has something to do with the .remove() function.

Any help would be appreciated.

Thanks!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ASawe2.6Main 2022-05-31 02:10:45 511 Initial revision (published)