题解列表
1635 这才是好方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n,c,d; while(scanf("%d",&n)!=EOF){ b=0; ……
编程入门]二维数组的转置
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <malloc.h> typedef struct student { double number; ……
1979,好懂的方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,n,c,d;while(scanf("%d",&n)!=EOF){ b=0;c=n; ……
最大公约数与最小公倍公倍数 C语言
摘要:解题思路:辗转相除法求出最小公约数,最小公倍数等于两数乘积/最小公约数。注意事项:参考代码:#include <stdio.h>int main(){ int x, y, a, b, x1, x2; ……
排序(C语言自己的排序函数)
摘要:
#include
#include
//C语言自己的排序函数为qsort(),内部运用的是快速排序机制
int comp(const void *a,co……
1000: [竞赛入门]简单的a+b C写法
摘要:解题思路:先定义两个变量,然后通过键盘输出scanf来输出自定数值,可以用while循环多次实验注意事项:参考代码:#include<stdio.h> ……
1470: 蓝桥杯基础练习VIP-时间转换
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args……
字符逆序c语言代码家谱
摘要:解题思路:注意事项:注意输出时i的最大值参考代码:#includeint main(){ char c,a[100]; int i=0,t; while((c=getchar())!=EOF……