nbq202412904430 @ 2024-09-04 21:01:18
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int x;
cin >>x;
if(x==1)printf("I love Luogu!");
else if(x==2)printf("%d %d",2+4,10-2-4);
else if(x==3)printf("%d\n%d\n%d",14/4,14/4*4,14%4);
else if(x==4)printf("%f",500.0/3);
else if(x==5)printf("%d",(260+220)/(12+20));
else if(x==6)cout<<sqrt(6*6+9*9);
else if(x==7)printf("%d\n%d\n%d",100+10,100+10-20,0);
else if(x==8)cout<<2*3.141593*5<<endl<<5*3.141593*5<<endl<<125*3.141593*3/4;
else if(x==9)printf("%d",((2*2+1)*2+1)*2);
else if(x==10)printf("%d",10);
else if(x==11)cout<<100/(8-5);
else if(x==12)printf("%d\nr",14);
else if(x==13)printf("%d",7);
else if(x==14)printf("%d",50);
return 0;
}
by zhangjiahe__ @ 2024-09-05 13:17:15
*表示修改某个错误,指#10说错了,改#11
by zhangjiahe__ @ 2024-09-05 13:19:36
第十个点介于8,10的整数只有9,所以第十个点答案为9
by zhangjiahe__ @ 2024-09-05 13:20:55
@nbq202412904