大小写转换 (C++代码)水一发 摘要:水起来参考代码:#include <bits/stdc++.h> using namespace std; int main(){ string str; while(getl…… 题解列表 2018年12月25日 0 点赞 0 评论 933 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:复制注意事项:别忘换行参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2018年12月25日 1 点赞 0 评论 361 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(…… 题解列表 2018年12月25日 0 点赞 0 评论 484 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:输入后+4注意事项:%c输出参考代码:#include<stdio.h>int main() { char a,b,c,d,e; a='C'; b='h'; …… 题解列表 2018年12月25日 0 点赞 0 评论 533 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:自己看注意事项:函数参考代码:#include<stdio.h>#include<string.h>int main() { char str[100]; int i,n; gets(str…… 题解列表 2018年12月25日 0 点赞 0 评论 411 浏览 评分:0.0
蓝桥杯历届试题-网络寻路 (C++代码) dfs 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;int n, m;const int maxn = 10005…… 题解列表 2018年12月25日 2 点赞 0 评论 1105 浏览 评分:0.0
格子位置 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class T1538 { public static void main(String[] …… 题解列表 2018年12月26日 0 点赞 0 评论 612 浏览 评分:0.0
【回文数(二)】 (C语言代码) 摘要:解题思路:注意事项: 在这里我用数组从a[0]开始存放数的最低位,a[i]存放高位,便于适应结果数的位数增长,易实现算法参考代码:#include<stdio.h> #include<string.…… 题解列表 2018年12月26日 0 点赞 0 评论 633 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路首先要有解题的思路,思路出来之后代码就很简单了 注意事项:函数的返回值一定一定不能写在循环里面,这是很多新手最初写程序时都会犯的错误参考代码:/*写两个函数,分别求两个整数的最大…… 题解列表 2018年12月26日 2 点赞 0 评论 476 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,diss,x1,x2; scanf("%f%f%f",&…… 题解列表 2018年12月26日 0 点赞 0 评论 473 浏览 评分:0.0