How to solve uva-10116 number problem?

Please tell me - How How to solve uva-10116 number problem?

Hey !! check it out here. I’ve posted my implementation in C++ along with the logic i used to solve this problem.

Hope this helps !

1 Like

Tnq @solo_loser.

//