All Possible Digits

Problem Name:
All Possible Digits
Site:CodeForces
Links:
Tags:
Problem setters: