cswork / OA打开练习工作台

Two SigmaOA #4

Calculate y/x using Patch

估计简单评测数据准备中,可先阅读题面

考点(AI 标注)位运算模拟/实现

Given two integers y and x, compute y /

Constraints

  • x ≠ 0
  • Use two digits after the decimal point in the returned string.

Example 1

Input:

y = 10
x = 2

Output:

"5.00"

Explanation: 10 / 2 = 5, formatted to two decimal places as 5.00.