cf/mirror

Replacing Digits

CF
169B1100· newbie2s256 MB⌨ stdin/stdout
#greedy

Examples

Sample 1of 2
Input
1024
010
Output
1124
Sample 2of 2
Input
987
1234567
Output
987
169B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)