Long Long Decimal
Basic Accuracy: 22.09% Submissions: 2105 Points: 1

You are simply given two numbers 355 and 113. You just have to give the output of 355/113 upto the decimal places "K"

Input :
The first line of input contains an integer T denoting the no of test cases. Then T test cases follow. Each test case contains an integer K denoting no. of decimal places.

Output:
For each test case in a new line output 355/113 upto Kth decimal places.

Constraints:
1 ≤ T ≤ 200
1 ≤ K ≤ 5000

Example:
Input : 

3
0
1
21

Output : 
3
3.1
3.141592920353982300884

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.