- 练12.4计算并联电阻的阻值
计算并联电阻的阻值
- 2024-4-21 9:44:42 @
#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; double c=1/a+1/b; printf("%.2f",1/c); return 0; }
2 comments
-
陈锦润 LV 8 @ 2024-5-9 19:26:05
徐老师久违的良心了一回
🤡 1 -
2024-4-21 9:44:48@
#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; double c=1/a+1/b; printf("%.2f",1/c); return 0; }
🤡 2👍 1
- 1
Information
- ID
- 444
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 4
- Tags
- # Submissions
- 151
- Accepted
- 67
- Uploaded By