2nd help

Revision en2, by mac_n_cheese_pog, 2021-08-08 06:21:20

im still unable to do this https://codeforces.me/problemset/problem/1146/B

someone said i need to explain my solution https://pastebin.com/f4eze85S

what i want to do:

stripg all 'a'

and then check the new string if first half is the same as second half like bcbc its the same

if yes then erase occurence in input string like abc and the occurence is bc then it should print a.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mac_n_cheese_pog 2021-08-08 06:21:20 1 Tiny change: 'ld print a' -> 'ld print a.'
en1 English mac_n_cheese_pog 2021-08-08 05:29:19 406 Initial revision (published)