P2433 【深基1-2】小学数学 N 合一题解

题目传送门

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a;
	double b,c=3;
	b=500;
	cin>>a;
	if(a==1)cout<<"I love Luogu!";
	if(a==2)cout<<6<<" "<<4;
	if(a==3)cout<<3<<endl<<12<<endl<<2;
	if(a==4)cout<<166<<"."<<667;
	b=2744*3.141593;
	if(a==5)cout<<15;
	if(a==6)cout<<sqrt(6*6+9*9);
	if(a==7)cout<<110<<endl<<90<<endl<<0;
	if(a==8)cout<<3.141593*10<<endl<<3.141593*25<<endl<<4*3.141593*125/3.0;
	if(a==9)cout<<22;
	if(a==10)cout<<9;
	if(a==11)cout<<100.0/3.0;
	if(a==12)cout<<13<<endl<<"R";
	if(a==13)
	{
		double V1=4*3.141593*64/3.0,V2=4*3.141593*1000/3.0;
		cout<<(int)pow(V1+V2,1/3.0);
	}
	if(a==14)cout<<50;
	return 0;
}

这也不是小学数学吧。。。。。。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值