Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem G: 【分支结构】并联电阻
Problem G: 【分支结构】并联电阻
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
1463
Solved:
440
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
在并联电路中,两个电阻R1、R2并联之后总的电阻值R可以用公式计算。
输入电阻R1、R2的值(整数),计算并输入R1、R2并联的电阻值(保留一位小数)
Sample Input
Copy
3 6
Sample Output
Copy
2.0