xzy2022 @ 2022-07-03 12:51:28
无论怎么样改均不行
#include<bits/stdc++.h>
using namespace std;
const int pi=3141593;
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;
cout<<12<<endl;
cout<<2<<endl;
}
else if (T == 4)
{
cout<<166<<"."<<667;
}
else if (T == 5)
{
cout<<(220+260)/(20+12);
}
else if (T == 6)
{
cout<<sqrt(6*6+9*9)
}
else if (T == 7)
{
cout<<110<<endl;
cout<<90<<endl;
cout<<0<<endl;
}
else if (T == 8)
{
cout<<pi*10/100000<<endl<<pi*25/100000<<endl<<4/3*pi*125/100000<<endl;
}
else if (T == 9)
{
cout<<((((1+1)*2)+1*2)+1)*2;
}
else if (T == 10)
{
cout<<9;
}
else if (T == 11)
{
cout<<1.0*100/3;
}
else if (T == 12)
{
cout<<(int)('M'-'A')+1<<endl<<(char)(18+'A'-1);
}
else if (T == 13)
{
out<<(int)(pow(4/3*pi*(4*4*4+10*10*10),1.0*1/3));
}
else if (T == 14)
{
cout<<50<<endl;
}
return 0;
}
难道抄作者格式有错
by ningago @ 2022-07-03 12:53:42
分号
by TheSky233 @ 2022-07-03 12:54:13
T=6 sqrt 后面没有分号
T=13 的 out 是什么
by Pretharp @ 2022-07-03 12:54:46
31 行
by Ender_Hacker @ 2022-07-03 12:58:36
有人注意到楼主 AC 了一道黑吗(
by yuchenren @ 2022-07-03 13:00:30
这 ** 搞啥呢
by SunTZ @ 2022-07-03 13:01:52
大佬,求教P6613
by ningago @ 2022-07-03 13:03:23
喜闻不乐见
by Ice_function @ 2022-07-03 13:03:30
%%%
by Ice_function @ 2022-07-03 13:04:22
求FFT
by ande @ 2022-07-03 13:24:59
大佬,求教P6613