Squash Pi
Statement
Goal
Print out the requested digits of pi.Input
First line: The INDEX of the first digit of pi to print.
Second line: The number of digits to print N .
Second line: The number of digits to print N .
Output
One line with the requested sequence.
Constraints
INDEX < 295,000
N < 50
N < 50
Example
Input
0 10
Output
3141592653
Tags
Difficulty
Easy
Test cases
Test 1 Test
Input
0
10
Output
3141592653
Validator 1 Validator
Input
1243
10
Output
7678374494
Test 2 Test
Input
79100
20
Output
32118636062252701154
Validator 2 Validator
Input
79552
20
Output
37462746172746265824
Test 3 Test
Input
163587
30
Output
088077855566632397283342252706
Validator 3 Validator
Input
213155
30
Output
348018765356776441151647710438
Test 4 Test
Input
294741
40
Output
9037059562142587514293266878284788078762
Validator 4 Validator
Input
292480
40
Output
1804744803809438397548267445519775059366
Solution language
Solution
Stub generator input