C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; for(n=10;n<=1000;n++) { if(n%2==0&&n%3==0&&n%7==0…… 题解列表 2018年08月22日 0 点赞 0 评论 670 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=2,s=2; int n,i; scanf("%d",&n); for(i=1;i<n;i++) {…… 题解列表 2018年08月22日 0 点赞 0 评论 877 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s=0,i,n; int a[100]; scanf("%d\n",&n); for(i=0;i<n;i…… 题解列表 2018年08月22日 0 点赞 0 评论 802 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(double n){double a=1; for(int i=1;i<=n;i…… 题解列表 2018年08月22日 0 点赞 0 评论 1353 浏览 评分:0.0
【明明的随机数】 (C语言代码)冒泡排序后去重 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>void fun(int a[],int m){ int i,j,t,l,q,k; for(i=0…… 题解列表 2018年08月22日 0 点赞 0 评论 1918 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>float fenduan(float x){ float y; if(x<1) y=x; else if(x>=1&&x<10) …… 题解列表 2018年08月22日 0 点赞 0 评论 1072 浏览 评分:0.0
迷宫问题 (C语言代码) 摘要:参考代码:#include<stdio.h> // 最大行列数 #define MAXRCS 100 #define MAXVAL 0xffff int map[MAXRCS][MAX…… 题解列表 2018年08月22日 1 点赞 1 评论 2187 浏览 评分:9.9
蓝桥杯算法提高VIP-洗牌 (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int cov(char ch) { if (ch == 'K') re…… 题解列表 2018年08月22日 0 点赞 0 评论 2169 浏览 评分:5.5
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> in mian() { int a,b,m=0; whil…… 题解列表 2018年08月22日 0 点赞 0 评论 571 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float f,c; scanf("%f",&f); c=5*(f-32)/9; printf("%.2f",c…… 题解列表 2018年08月22日 0 点赞 0 评论 654 浏览 评分:0.0