# fun21.calc - [2021 Fun]Urumi's Calculation

Version: v4

1000ms / 262144 KB
Difficulty:1.0x

# Statement

Welcome to 2021! Another year with another hope!

In this task, you are going to play with Urumi. She decides to throw a stone baby into the Sanzo river to beg for good luck. It's known that the Sanzo river has a depth of $D$ and the acceleration of the stone is $a$

How long does it take the stone baby to fall?

# Task

Write a program that:

• Read $D$ and $a$ from STDIN
• Calculate $T=\sqrt{\frac{2D}{a}}$
• Output $T$

# Input

Two integers, $D$ and $a$. ($1\leq D,a\leq 1000$)

# Output

A single float $T$

# Example

[In]
5 10
[Output]
1.000
[Explain]
Score is 100


# Scoring

There are 20 testcases.

The judger will compare your output with the correct answer in string. Let $P$ to be the first digit/symbol that are not the same.

• Your score will be $\sqrt{P-1}$
• If you output more than answer, you will get 100 points.
• Please do not output more than $10^4$ digits or you will get 0 point as Urumi is too stupid to understand such an answer.

You should not print leading and trailing 0s.

Examples:

• If answer is "1.33333333333333" and your output is "1.33" $P=5$
• If answer is "1.33333333333333" and your output is "1.25" $P=3$
• If answer is "1.33333333333333" and your output is "01.333" $P=1$
• If answer is "1" and your output is "1.114514" $P=10001$
• If answer is "1" and your output is "114514" $P=10001$