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 m256i @ 2022-07-03 13:28:17
orz 多项式大佬
by JackMerryYoung @ 2022-07-03 13:37:22
求教 FFT
by Qiancy1427 @ 2022-07-03 13:46:17
P6613
by homoteam_ikun @ 2023-01-05 11:32:37
题13那里cout写成out了(((