2020团体程序设计天梯赛 L1-3 洛希极限
思路:
水题,略过
Tip:
无
#include <bits/stdc++.h> using namespace std; int main() { double a, b, c; cin >> a >> b >> c; if (b == 0) { a *= 2.455; printf("%.2lf", a); } else { a *= 1.26; printf("%.2lf", a); } if (a < c) { cout << " ^_^" << endl; } else { cout << " T_T" << endl; } return 0; }