题解列表

筛选

c++种树-贪心

摘要:解题思路:求得每个区域被几次相交过,比如1~4与3~5的相交就会有:i:1,2,3,4,5tog:1,1,2,2,1先按照每个居民自己的区域段E来进行排序,再根据贪心策略求每个居民的B~E……

破解平方数(递归)

摘要:解题思路:组合, 递归注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&n……

破解简单密码

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

神奇的fans(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&……

第几天(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

筛排处理(set)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&……

简单的事情(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;longlongfa……

简单编码(字典)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

冒泡法排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int i,j;……