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 评论 1545 浏览 评分:0.0
迷宫问题 (C语言代码) 摘要:参考代码:#include<stdio.h> // 最大行列数 #define MAXRCS 100 #define MAXVAL 0xffff int map[MAXRCS][MAX…… 题解列表 2018年08月22日 1 点赞 1 评论 3137 浏览 评分:9.9
蓝桥杯算法提高VIP-洗牌 (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int cov(char ch) { if (ch == 'K') re…… 题解列表 2018年08月22日 0 点赞 0 评论 2947 浏览 评分:5.5
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> in mian() { int a,b,m=0; whil…… 题解列表 2018年08月22日 0 点赞 0 评论 928 浏览 评分: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 评论 1098 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); printf("%o",a);return 0;}…… 题解列表 2018年08月22日 0 点赞 0 评论 959 浏览 评分:0.0
数列排序 (C++代码) 解题思路:这道题目很简单,不需要进行排序,从K9开始往前遍历,只要小于K1的就进行输出,然后标记已经输出过的数,剩下来的数完全不用排序了,只需要判断是否输出过,如果输出过就不用输出,反之输出;题目的要求一定是K1-K99个数,这个要小心;对于题目的意思举几个小例子321——>输出的是12345316— 题解列表 2018年08月22日 3 点赞 0 评论 2062 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题6.3 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { int a,b,c=0; scanf("%d",&a); for(b=0;a>0;a--) …… 题解列表 2018年08月22日 1 点赞 1 评论 530 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a>b) …… 题解列表 2018年08月22日 0 点赞 0 评论 866 浏览 评分:0.0
密码截获 (C++代码)暴力吧 寻找最长回文串 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> #include <cstdio> using namespace std; int…… 题解列表 2018年08月22日 2 点赞 5 评论 1876 浏览 评分:9.8