题解列表
不容易系列2(递推 + 排列)
摘要:解题思路:递推(排列)注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;……
人民币问题(循环枚举)
摘要:解题思路:循环枚举注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;……
众数问题(极简模拟)
摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;co……
人见人爱A+B(模拟)
摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;co……
链表删除练习(作代码记录用)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef ……
2006(c语言包看懂得)
摘要:解题思路:干就行了注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n%2!=……
递归O(nlogn)
摘要:解题思路:其实我们研究的对象是兔子的末状态,所以不必把兔子移动过程展现出来。选用指针来表示兔子的移动方向,首先先确定两只“双向奔赴"兔子的位置,单向奔赴兔子的末位置与指向的兔子一样,用深搜扫……