- 博客(12)
- 资源 (1)
- 收藏
- 关注
原创 一本通1013:温度表达转化答案
#include <bits/stdc++.h>using namespace std;int main(){ double c,f; cin>>f; c=5*(f-32)/9; printf("%.5f",c);}
2022-02-01 16:17:54
515
1
原创 一本通1012:计算多项式的值答案
#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d,x,dao; cin>>x>>a>>b>>c>>d; dao = a*x*x*x+b*x*x+c*x+d; printf("%.7f",dao);}
2022-01-31 17:32:40
295
原创 一本通1011:甲流疫情死亡率答案
#include <bits/stdc++.h>using namespace std;int main(){ float a,b,c,d; cin>>a>>b; c = b/a; d = c*100; printf("%0.3f%%",d);}
2022-01-31 17:30:10
480
原创 一本通2068:【例2.6】鸡兔同笼答案
#include<iostream>#include<cstdio>using namespace std;int main(){ int x,y; cin>>x>>y; int ch,ra; ra=(y-2*x)/(2); ch=x-ra; cout<<ch<<" "<<ra; return 0;}
2022-01-31 17:14:08
327
原创 一本通2067:【例2.5】圆答案
#include <bits/stdc++.h>using namespace std;#define PI 3.1415926535897932384626int main(){ double a,b,c,d; cin>>a; b = a*2; c = b*PI; d = a*a*PI; printf("%0.4f %0.4f %0.4f",b,c,d);}
2022-01-31 17:12:15
673
原创 一本通1010:计算分数的浮点数值答案
#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin>>a>>b; c = a/b; printf("%0.9f",c);}
2022-01-31 17:08:29
391
原创 一本通1009:带余除法答案
#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,d; cin>>a>>b; c = a/b; d = a%b; cout<<c<<" "<<d;}
2022-01-31 17:07:29
294
原创 一本通1008:计算(a+b)/c的值答案
#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,e; cin>>a>>b>>c; d = a+b; e = d/c; cout<<e;}
2022-01-31 17:05:07
176
原创 一本通1007:计算(a+b)×c的值答案
#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,e; cin>>a>>b>>c; d = a+b; e = d*c; cout<<e;}
2022-01-31 17:04:01
179
原创 一本通1006:A+B问题答案
#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b; c = a+b; cout<<c;}
2022-01-31 17:02:46
159
转载 VS及VScode的安装
Visual Studiohttps://aka.ms/vs/17/release/vs_community.exehttps://aka.ms/vs/17/release/vs_community.exe这个内存占用大要下的时间也就几小时大概十几个G电脑不好慎用Visual Studio codehttps://code.visualstudio.com/sha/download?build=stable&os=win32-x64-userhttps://code...
2022-01-22 22:22:28
239
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人