当前位置:网站首页>L1-067 Roche limit (10 points)
L1-067 Roche limit (10 points)
2022-06-12 04:27:00 【Liabilities between persons^】
L1-067 Roche limit (10 branch )
Science fiction film 《 Wandering the earth 》 One of the most important scenarios in is when the earth is too close to Jupiter , The atmosphere began to be sucked away by Jupiter , And as we get closer to the ground wood “ Rigid body Roche limit ”, The earth is in danger of being completely torn apart . But actually , This calculation is wrong .
Roche limit (Roche limit) It is the distance when the gravity of one celestial body is equal to the tidal force caused by the second celestial body . When the distance between two celestial bodies is less than the Roche limit , Objects tend to disintegrate , And then it becomes the ring of the second object . It was Edward, the first person to calculate this limit · Roche named .( From baidu baike )
The ratio of the density of large objects to that of small objects 3 After power , Multiplied by the radius of the big object and a multiple ( The multiple corresponding to the fluid is 2.455, The multiple of a rigid body is 1.26), Is the value of the Roche limit . For example, the density ratio of Jupiter to earth is open 3 The power is 0.622, If we assume that the earth is a fluid , So the Roche limit is 0.622×2.455=1.52701 Times the radius of Jupiter ; But the earth is a rigid body , The corresponding Roche limit is 0.622×1.26=0.78372 Times the radius of Jupiter , This distance is smaller than the radius of Jupiter , That is, the earth will be torn apart only when it is inside Jupiter , In other words , Is that the earth can't be torn apart .
This question asks you to judge whether a small celestial body will be torn apart by a large celestial body .
Input format :
Enter... On one line 3 A digital , In turn : The ratio of the density of large objects to that of small objects 3 The value calculated after the power (≤1)、 Properties of small celestial bodies (0 Represents a fluid 、1 Represents a rigid body )、 The ratio of the distance between two celestial bodies to the radius of large celestial bodies (>1 But not more than 10).
Output format :
In one line, first output the ratio of the Roche limit of small objects to the radius of large objects ( Output after decimal point 2 position ); Then empty one space ; The final output ^_^ If the little celestial body won't be torn apart , Otherwise output T_T.
sample input 1:
0.622 0 1.4
sample output 1:
1.53 T_T
sample input 2:
0.622 1 1.4
sample output 2:
0.78 ^_^
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<vector>
#include<stack>
#include<queue>
#include<sstream>
using namespace std;
typedef long long ll;
const int N=10010;
int main()
{
double a, b, c;
cin >> a >> b >> c;
if(b == 0) a *= 2.455;
else a *= 1.26;
if(a < c) printf("%.2lf ^_^\n",a);
else printf("%.2lf T_T\n",a);
return 0;
}
边栏推荐
- 如何制作数据集并基于yolov5训练成模型并部署
- What is the difference between FOB, CIF and CFR?
- R language plot visualization: plot visualization of basic 2D histogram, custom setting of color of 2D histogram, and histogram visualization of binary distribution (basic 2D histogram)
- 关于线程池需要注意的几点
- Notes on relevant knowledge points such as original code / inverse code / complement code, size end, etc
- Work report of epidemic data analysis platform [6.5] epidemic map
- How Windows installs multiple versions of MySQL and starts it at the same time
- Plot visualization in R language: visualize the scatter diagram of the actual value and the predicted value of the regression model, analyze the prediction efficiency of the regression model, distingu
- Encapsulation manuelle d'un foreach et d'une carte
- Detailed explanation of Command Execution Vulnerability
猜你喜欢

JSP implementation of bank counter business performance evaluation system
![[Clickhouse column] user initialization of new library role](/img/00/a11fb1a8e38ed4e0634839160c8ead.png)
[Clickhouse column] user initialization of new library role

Legendary biological car-t has been approved by FDA, becoming the first domestic cell therapy product to successfully go to sea

智能面板WiFi聯動技術,ESP32無線芯片模組,物聯網WiFi通信應用

How Windows installs multiple versions of MySQL and starts it at the same time
![Work report of epidemic data analysis platform [6] visual drawing](/img/cc/9eaff451068d0efb174b58719c700e.png)
Work report of epidemic data analysis platform [6] visual drawing

Introduction to distributed locks
![Epidemic data analysis platform work report [3] website deployment](/img/94/04af8ab245a0162219cd90b2ab96b8.png)
Epidemic data analysis platform work report [3] website deployment

JSP实现银柜台业务绩效考核系统

MySQL master-slave construction and Django implementation of read-write separation
随机推荐
AI and logistics Patent
Daily practice (28): balance binary tree
What does hard work mean to you?
调用提醒事项
R language plot visualization: plot visualization grouped violin plot in R with plot
QT compile 45 graphic report of security video monitoring system
Esp32c3 remote serial port
[SC] OpenService FAILED 5: Access is denied.
Summary of sequential, modulelist, and moduledict usage in pytorch
Create a new table in the database. There was no problem before. Today
[软件工具][原创]voc数据集类别名批量修改工具使用教程
Will subsequent versions support code block search highlighting
leetcode797. 所有可能的路径(中等)
Some points needing attention about thread pool
What is the difference between FOB, CIF and CFR?
PHP and JS remove all spaces
From science to startup
EN in Spacey_ core_ web_ SM installation problems
Implementation of fitness club management system based on SSH
Detailed explanation of software testing process