题解列表
链表删除练习(作代码记录用)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef ……
人见人爱A+B(模拟)
摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;co……
众数问题(极简模拟)
摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;co……
人民币问题(循环枚举)
摘要:解题思路:循环枚举注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;……
不容易系列2(递推 + 排列)
摘要:解题思路:递推(排列)注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;……
上车人数(模拟 + 递推)
摘要:解题思路:递推系数规律, 计算第二站上下车人数, 按照递推公式计算第x站人数注意事项:第n站下车的人数是第n-1站出发时的人数参考代码:#include<iostream>#inclu……
矩阵对角线求和python
摘要:参考代码:a=[list(map(int,input().split()) ) for _ in range(3)]s,w=0,0for i in range(len(a)): &nbs……
STL解法,优先队列priority_queue #1718: 数据结构-堆排序(c++)
摘要:```#includeusing namespace std;int main(){ int n; cin>>n; priority_queue ……