Back
Close

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.

Statement

 Goal

Print out the requested digits of pi.

As requested, here is a hint in rot13 for those who want the best algorithm pointed out: Puhqabifxlf Nytbevguz
Input
First line: The INDEX of the first digit of pi to print.
Second line: The number of digits to print N .
Output
One line with the requested sequence.
Constraints
INDEX < 1,000,000
N <= 50
Example
Input
0
10
Output
3141592653

A higher resolution is required to access the IDE