字符排序 (C语言代码) 摘要:解题思路:稍微改一下冒泡排序,我觉得这道题出的不好,没把空格算进去注意事项:参考代码:#include<stdio.h>#include<string.h>void bubble_sort(char*…… 题解列表 2019年03月08日 0 点赞 0 评论 742 浏览 评分:0.0
字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1; string…… 题解列表 2019年03月08日 0 点赞 0 评论 734 浏览 评分:0.0
蓝桥杯2017年第八届真题-小数第n位 (Java代码) 摘要:解题思路:a>b的话,先做一下除法。要小数注意事项:参考代码:import java.util.Scanner;public class Main { public static void ma…… 题解列表 2019年03月08日 1 点赞 0 评论 857 浏览 评分:0.0
。。串串。。:回文串 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int i,flag=1; char a[260]; gets(…… 题解列表 2019年03月08日 1 点赞 0 评论 1455 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:可以先把字符存放在数组里,然后利用字符串计算长度的函数求出其长度,最后利用循环从数组的尾开始输出。注意事项:参考代码:#include<stdio.h>#include<string.h>i…… 题解列表 2019年03月08日 0 点赞 0 评论 560 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { int x, n = 9, way; //用x表示要插入的值,n=9(后面当没找到插入位置时,放到arr【9】),way…… 题解列表 2019年03月08日 0 点赞 0 评论 958 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, i, q; scanf("%d", &N); for(i = 2; i <= N…… 题解列表 2019年03月08日 0 点赞 0 评论 813 浏览 评分:0.0
C语言训练-亲密数 (C语言代码)(自己也看不懂系列一) 摘要:解题思路:注意事项:#include<stdio.h>int main(){ int a,b,i,sum1,sum2; for(i=1;i<=3000;i++) { …… 题解列表 2019年03月08日 1 点赞 0 评论 907 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a; double x, y = 1; scanf("…… 题解列表 2019年03月08日 0 点赞 0 评论 781 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { //递归分子 public static int f(int n) …… 题解列表 2019年03月08日 0 点赞 0 评论 705 浏览 评分:0.0