编写题解 1171: 蟠桃记 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int num(int a); int main(){ int a,b; while(scanf("%d",&a)!=EO…… 题解列表 2021年11月09日 0 点赞 0 评论 510 浏览 评分:9.9
数组插入处理。数组移位简单分析 摘要:解题思路:首先用for循环判断输入的n具体在哪个位置;在把n之后的数组往后移一位注意事项:特别要注意当数组中没有比n更大的情况,这是只需把数组按顺序输出,然后再输出n就行参考代码:#include<s…… 题解列表 2021年11月09日 0 点赞 0 评论 763 浏览 评分:9.9
不使用数组移位的方法解决该题 摘要:解题思路:判断n处于哪个位置,先输出n前面的数字,在输出n的值,然后再输出n后面的数值。注意事项:参考代码:#include<stdio.h>int main(){ int a[9],n; for (…… 题解列表 2021年11月09日 0 点赞 0 评论 547 浏览 评分:9.9
1052链表合并(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> typedef struct node { int xh,score; struc…… 题解列表 2021年11月09日 0 点赞 0 评论 1152 浏览 评分:9.9
C语言-2260求arccos值,,,,,,, 摘要:解题思路:能有什么思路注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x; scanf("%lf",&x); prin…… 题解列表 2021年11月09日 0 点赞 0 评论 659 浏览 评分:9.9
水仙花 水仙花 水仙花 摘要:```c #include int main() { int a,b,c,d; scanf("%d",&a); if(a>99&&a…… 题解列表 2021年11月09日 0 点赞 0 评论 916 浏览 评分:9.9
C++:[STL训练]美国大选 摘要:解题思路:先排序,选出刚好超一半的州,再把每个州刚好超过一半的人数相加注意事项:注意输出格式参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2021年11月09日 1 点赞 1 评论 2062 浏览 评分:9.9
一起来捉妖-java题解 摘要:解题思路:用hasNextInt(),在控制台上输入end才能显示结果,但是就能AC,气不气注意事项:参考代码:import java.util.Scanner; public class te…… 题解列表 2021年11月09日 0 点赞 0 评论 634 浏览 评分:9.9
1008成绩评定 摘要:解题思路:#include <stdio.h> //头文件void main() //一个文件的开头{ int a;//赋予与一个值 scanf("%d",&a); if(a<=100) if(a…… 题解列表 2021年11月10日 0 点赞 4 评论 1215 浏览 评分:9.9
C++ C用库函数(比赛时可以查看API文档) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string std; getline(cin,std); …… 题解列表 2021年11月10日 0 点赞 0 评论 1376 浏览 评分:9.9