14392 - Class-Skipper Tokiyuki   

Description

Hōjō Tokiyuki has been avoiding his classes for so long that he now struggles to understand his assignments.
Desperate for help, he turns to you to guide him through the following task:

Given a point P(x, y) on a coordinate plane, your goal is to calculate the slope of the line that passes through point P and the origin O(0, 0).

逃げ上手の若君』主人公・北条時行の情報まとめ | アニメイトタイムズ

Input

Input two integers x, y.

Constraints

  • x ≠ 0, -109 ≤ x, y ≤ 109.

Output

Output a floating-point number representing the answer, rounded to three decimal places.

 

Please remember to print "\n" at the end.

Sample Input  Download

Sample Output  Download

Tags




Discuss