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 评论 683 浏览 评分: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 评论 1110 浏览 评分: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 评论 1539 浏览 评分: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 评论 900 浏览 评分:0.0
迷宫问题 (C语言代码) 摘要:参考代码:#include<stdio.h> // 最大行列数 #define MAXRCS 100 #define MAXVAL 0xffff int map[MAXRCS][MAX…… 题解列表 2018年08月22日 1 点赞 1 评论 1754 浏览 评分:9.9
蓝桥杯算法提高VIP-洗牌 (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int cov(char ch) { if (ch == 'K') re…… 题解列表 2018年08月22日 0 点赞 0 评论 1919 浏览 评分:5.5
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> in mian() { int a,b,m=0; whil…… 题解列表 2018年08月22日 0 点赞 0 评论 491 浏览 评分: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 评论 552 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); printf("%o",a);return 0;}…… 题解列表 2018年08月22日 0 点赞 0 评论 582 浏览 评分:0.0
数列排序 (C++代码) 摘要:解题思路:这道题目很简单,不需要进行排序,从K9开始往前遍历,只要小于K1的就进行输出,然后标记已经输出过的数,剩下来的数完全不用排序了,只需要判断是否输出过,如果输出过就不用输出,反之输出;题目的要…… 题解列表 2018年08月22日 3 点赞 0 评论 1119 浏览 评分:8.0