[编程入门]自定义函数之字符串连接 (C++代码) 摘要:#include<iostream> #include<cstring> using namespace std; int main() { char st1[100],st2[1…… 题解列表 2019年05月10日 0 点赞 0 评论 1653 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[100]; int i=0,word=0,nu…… 题解列表 2019年05月10日 0 点赞 0 评论 1989 浏览 评分:0.0
哥德巴赫曾猜测 (C++代码) 摘要:解题思路:题目要求素数对的组合,那么我们可以将2到输入变量所有的素数用一个数组存起来接着两个循环求解。注意事项:注意循环的起始量,题目要求两个相同素数也满足条件,那么两个初始值设为一样的值。参考代码:…… 题解列表 2019年05月10日 1 点赞 0 评论 904 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n=0; double aver,a[11],sum=0; for(i=0;i<10;i++) {s…… 题解列表 2019年05月10日 0 点赞 0 评论 920 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o\n",n); return 0;}…… 题解列表 2019年05月10日 0 点赞 0 评论 784 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n; scanf("%lf",&n); printf("%.2lf\n",5*(n-32)/9);…… 题解列表 2019年05月10日 0 点赞 0 评论 573 浏览 评分:0.0
蓝桥杯算法训练VIP-判定字符位置 (C++代码)水 摘要:解题思路: 第一次拿平板写代码,感觉还是不错的 水题,水一下就过了参考代码:#include<bits/stdc++.h> using namespace std; int main(…… 题解列表 2019年05月11日 0 点赞 0 评论 1216 浏览 评分:0.0
蓝桥杯算法提高VIP-一元一次方程 (C语言代码)哈哈哈! 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ double a,b; scanf("%lf%lf",&a,&b); printf("%.2f",-b/a)…… 题解列表 2019年05月11日 0 点赞 0 评论 1156 浏览 评分:0.0
蓝桥杯算法提高VIP-企业奖金发放 (C语言代码)哈哈哈! 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ double x,y; scanf("%lf",&x); if(x<=100000) y=x*0.1; e…… 题解列表 2019年05月11日 0 点赞 0 评论 791 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码)哈哈哈! 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ int a,b,c; for(a=1;a<1000;a++) for(b=1;b<1000;b++) …… 题解列表 2019年05月11日 0 点赞 0 评论 664 浏览 评分:0.0