题解列表

筛选

Monkey————链表合并

摘要: //用了冒泡排序法和选择排序法,提交发现选择排序法通过快一点,具体原因母鸡 //遗憾的是两个排序法我嫌麻烦没分装成函数,见谅 #includ……

1872:春夏秋冬判断

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int month; while(scanf("%d",&month)!=EOF) { if(month>=……

2923: 病人排队

摘要:解题思路:注意事项:参考代码://插入排序与字符串交换 #include <stdio.h> #include <string.h> int main() {     int n = 0, ……

角谷猜想(C++简单递归)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int x) {     if(x%2==0)     {    ……