题解列表

筛选

花落的新手算法(C语言代码)

摘要:解题思路:学过结构体就可以做了,没什么难度,但是要注意变量类型。注意事项:参考代码:#include<stdio.h>struct store { char MC [100]; double DJ; ……

花落的新手算法(C语言代码)

摘要:解题思路:学过结构体的就可以做啦,没什么难度。注意事项:参考代码:#include<stdio.h>#define AUM(x,y) {struct student  t;t=x;x=y;y=t;}s……

【排队买票】 (C语言代码)

摘要:解题思路:用递归求出总共有多少种可行的情况,再用全排列来求出总情况注意事项:参考代码:#include <stdio.h>int fact(int a){ int i, sum = 1; for (i……