CommonLounge is a community of learners who learn together. Get started with the featured resources above, ask questions and discuss related stuff with everyone.
NaN.
discussion
Secret Cow Code (Silver, January Contest: USACO 2017)
Can anyone provide some hints to this problem? Although N <= 10^18 but there is some pattern which I am not able to detect.