Runtime error with taking string input of repeated characters

Правка en1, от cote, 2020-10-29 06:46:53

Hi,

I am trying to solve this problem on codeforces: 126B - Password

However, my submitted code got RE on string with repeated characters like aaaa, www, ss, ... You could check the submission here: 97046351.

I don't know why the error arise. This is the first time I've encountered this kind of RE. Please help me with this.

Thanks in advance.

Теги mysterious runtime error, input

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский cote 2020-10-29 06:46:53 430 Initial revision (published)