L1-067 洛希極限 分數 10

Frodnx發表於2024-08-16
// 8'30"
#include <bits/stdc++.h>
using namespace std;
int main()
{
    double a, c;
    int b;
    cin >> a >> b >> c;
    double res = (a / c) * (b == 0 ? (double)2.455 : (double)1.26);
    cout << fixed << setprecision(2) << a * (b == 0 ? (double)2.455 : (double)1.26) << " ";
    cout << (res > 1 ? "T_T" : "^_^") << endl;
    return 0;
}

相關文章