冒泡法!!!字符串排序!!!简洁易懂!!! 摘要:解题思路: 先输入三个字符串,通过头文件include#include#includeint main(){ char a[3][1000]; char c[1000]; for(int i=0;i<…… 题解列表 2021年11月08日 1 点赞 0 评论 976 浏览 评分:9.9
编写题解 1218: 排列 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c[4],d,e,f,g,h; scanf("%d",&a); for(b=0;…… 题解列表 2021年11月08日 0 点赞 0 评论 341 浏览 评分:9.9
多输入输出练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define PI 3.1415 int main(){ double a,b,c; scanf("%lf",&a); …… 题解列表 2021年11月08日 0 点赞 0 评论 582 浏览 评分:9.9
编写题解 1171: 蟠桃记 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int num(int a); int main(){ int a,b; while(scanf("%d",&a)!=EO…… 题解列表 2021年11月09日 0 点赞 0 评论 398 浏览 评分:9.9
数组插入处理。数组移位简单分析 摘要:解题思路:首先用for循环判断输入的n具体在哪个位置;在把n之后的数组往后移一位注意事项:特别要注意当数组中没有比n更大的情况,这是只需把数组按顺序输出,然后再输出n就行参考代码:#include<s…… 题解列表 2021年11月09日 0 点赞 0 评论 644 浏览 评分:9.9
不使用数组移位的方法解决该题 摘要:解题思路:判断n处于哪个位置,先输出n前面的数字,在输出n的值,然后再输出n后面的数值。注意事项:参考代码:#include<stdio.h>int main(){ int a[9],n; for (…… 题解列表 2021年11月09日 0 点赞 0 评论 450 浏览 评分:9.9
1052链表合并(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> typedef struct node { int xh,score; struc…… 题解列表 2021年11月09日 0 点赞 0 评论 943 浏览 评分:9.9
C语言-2260求arccos值,,,,,,, 摘要:解题思路:能有什么思路注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x; scanf("%lf",&x); prin…… 题解列表 2021年11月09日 0 点赞 0 评论 512 浏览 评分:9.9
水仙花 水仙花 水仙花 摘要:```c #include int main() { int a,b,c,d; scanf("%d",&a); if(a>99&&a…… 题解列表 2021年11月09日 0 点赞 0 评论 786 浏览 评分:9.9
C++:[STL训练]美国大选 摘要:解题思路:先排序,选出刚好超一半的州,再把每个州刚好超过一半的人数相加注意事项:注意输出格式参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2021年11月09日 1 点赞 1 评论 1883 浏览 评分:9.9