字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1; string…… 题解列表 2019年03月08日 0 点赞 0 评论 730 浏览 评分:0.0
蓝桥杯2017年第八届真题-小数第n位 (Java代码) 摘要:解题思路:a>b的话,先做一下除法。要小数注意事项:参考代码:import java.util.Scanner;public class Main { public static void ma…… 题解列表 2019年03月08日 1 点赞 0 评论 854 浏览 评分:0.0
。。串串。。:回文串 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int i,flag=1; char a[260]; gets(…… 题解列表 2019年03月08日 1 点赞 0 评论 1450 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:可以先把字符存放在数组里,然后利用字符串计算长度的函数求出其长度,最后利用循环从数组的尾开始输出。注意事项:参考代码:#include<stdio.h>#include<string.h>i…… 题解列表 2019年03月08日 0 点赞 0 评论 559 浏览 评分: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 评论 955 浏览 评分: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 评论 810 浏览 评分: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 评论 903 浏览 评分: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 评论 778 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { //递归分子 public static int f(int n) …… 题解列表 2019年03月08日 0 点赞 0 评论 704 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//1164#include<math.h>#include<stdlib.h>int main(){ int m,n,i,j,m…… 题解列表 2019年03月08日 0 点赞 0 评论 879 浏览 评分:0.0