求,自己能过编译,但洛谷编译失败
查看原帖
求,自己能过编译,但洛谷编译失败
1053595
_Warfarin_楼主2023/8/20 16:19

#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) 
	{
        cout<<fixed<<setprecision(6)<<500/3; 
    } 
	else if (T == 5) 
	{
        cout<<15;
    }
	 else if (T == 6) 
	{
        cout<<sqrt(6*6+9*9);
    }
	 else if (T == 7) 
	{
       cout<<110<<endl<<90<<endl<<0;
    } 
	else if (T == 8)
	{
        cout<<2*5*3.141593<<endl<<5*5*3.141593<<endl<<4.0/3*3.14159*125;
    }
	 else if (T == 9) 
	{
       cout<<"22";
    } 
	else if (T == 10) 
	{
        cout<<9;
    } 
	else if (T == 11) 
	{
        cout<<100.0/3;
    }
	 else if (T == 12) 
	{
        cout<<"12"<<endl<<"R";
    } 
	else if (T == 13)
	{
        cout<<floor(pow((4.0/3*4*4*4*3.141593+4.0/3*10*10*10*3.141593),1.0/3));
    } 
	else if (T == 14)
	{
        cout<<40;
    }
    return 0;
}
2023/8/20 16:19
加载中...