题解列表
C语言-2260求arccos值,,,,,,,
摘要:解题思路:能有什么思路注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x; scanf("%lf",&x); prin……
1022 jiu就礼服C语言
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; int N,a; scanf("%d",&N); for(i=2;i<……
1052链表合并(c语言)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<stdlib.h>
typedef struct node
{
int xh,score;
struc……
1676:链表的基本操作
摘要: #include
#include
#include
typedef struct list
{
int data;
……
不使用数组移位的方法解决该题
摘要:解题思路:判断n处于哪个位置,先输出n前面的数字,在输出n的值,然后再输出n后面的数值。注意事项:参考代码:#include<stdio.h>int main(){ int a[9],n; for (……
数组插入处理。数组移位简单分析
摘要:解题思路:首先用for循环判断输入的n具体在哪个位置;在把n之后的数组往后移一位注意事项:特别要注意当数组中没有比n更大的情况,这是只需把数组按顺序输出,然后再输出n就行参考代码:#include<s……
编写题解 1171: 蟠桃记
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int num(int a);
int main(){
int a,b;
while(scanf("%d",&a)!=EO……
C语言训练-阶乘和数*
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main(){
int a,b,c,d,e,f[100],g=0,h,i,j,k[1……