79分,求大佬帮帮忙
查看原帖
79分,求大佬帮帮忙
817416
fsc0190楼主2023/4/5 08:26
#include<bits/stdc++.h>
using namespace std;
int main() {
    int T;
    cin >> T;
    if (T == 1) 
    {
        cout << "I love Luogu!";
    } 
    else if (T == 2) 
    {
        cout << 2 + 4 << " " << 10 - 2 - 4;
    } 
    else if (T == 3)  
    {
        cout << 3 << endl << 12 << endl << 2;
    }  
    else if (T == 4)  
    {
        printf("%.6lf",500.0/3.0);
    }  
    else if (T == 5)  
    {
        cout << 15;
    }  
    else if (T == 6)  
    {
        cout << sqrt(117);
    }  
    else if (T == 7)  
    {
        cout << 110 << endl << 90 << 0;
    }  
    else if (T == 8)  
    {
        cout << 31.41592653 << endl << 78.539816325 << 523.5987755;
    }
    else if (T == 9)  
    {
        cout << 22;
    }  
    else if (T == 10)  
    {
        cout << 9;
    }  
    else if (T == 11)  
    {
        cout << 33.3333;
    }  
    else if (T == 12)  
    {
        cout << 13 << endl << "R";
    }  
    else if (T == 13)  
    {
        cout << 16;
    } 
    else if (T == 14)  
    {
        cout << 50;
    }
    return 0;
}
2023/4/5 08:26
加载中...