Substitutes in Number

2020 VietMX 1

Andrew and Eugene are playing a game. Initially, Andrew has string s, consisting of digits. Eugene sends Andrew multiple queries of type ” d iā€‰ā†’ā€‰t i“, that means “replace […]