Polycarp and the Day of Pi

Problem Name:
Polycarp and the Day of Pi
Site:CodeForces
Links:
Tags:
Problem setters: