Beautiful Factorial Game

Problem Name:
Beautiful Factorial Game
Site:Spoj
Links:
Tags:
Problem setters: