C++利润计算(在if从句中写一行代码就运行一下,让计算机计算出上个区间的利润再加上) 摘要:解题思路:在if从句中写一行代码就运行一下,让计算机计算出上个区间的利润再加上,末尾的10000,17500等均是上一次输入100000,200000所得结果其他后缀的利润皆如此。注意事项:参考代码:…… 题解列表 2022年04月30日 0 点赞 2 评论 1130 浏览 评分:9.9
自定义函数之数字后移(懒人简单C++) 摘要:解题思路:根据题意输入,可以先输出后面需要输在开头的数,接着按原顺序输出剩下的数注意事项:for语句的应用参考代码:#include<iostream>#include<fstream>#includ…… 题解列表 2022年04月30日 0 点赞 0 评论 440 浏览 评分:9.9
蓝桥杯算法训练VIP-确定元音字母位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int t;int main() { cin>>s; …… 题解列表 2022年04月29日 0 点赞 0 评论 507 浏览 评分:0.0
蓝桥杯算法训练VIP-特殊的数字四十 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a;int main() { for(int i=1000;i<100…… 题解列表 2022年04月29日 0 点赞 0 评论 343 浏览 评分:0.0
蓝桥杯算法训练VIP-水仙花 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c,d;int main() { cin>>a; b=a…… 题解列表 2022年04月29日 0 点赞 0 评论 357 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ctof(int c);int main() { int c; …… 题解列表 2022年04月29日 0 点赞 0 评论 337 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;double a;//要用double int main(){ cin>>a; pr…… 题解列表 2022年04月29日 0 点赞 0 评论 440 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ cin>>a>>b; for(int i=m…… 题解列表 2022年04月29日 0 点赞 0 评论 396 浏览 评分:0.0
用筛法求之N内的素数。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,a[1000005];int main(){ cin>>n; for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 352 浏览 评分:0.0
二级C语言-阶乘数列 摘要:解题思路:用计算机算出答案,再输出注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<"2.74e+32"…… 题解列表 2022年04月29日 0 点赞 0 评论 453 浏览 评分:0.0