摘要: 思路很简单暴力 定义xy是左右边界 满足条件就加但是细节很重要所以定义另外一个数组记录加的范围次数 每次加都输出结果清晰可视#include using namespace std;int a[200][200]... 阅读全文
posted @ 2018-03-27 18:52 张浦 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 复习stl next_permutation#include #include #include using namespace std;bool prime(int x){ if(x=0;i--) { t... 阅读全文
posted @ 2018-03-27 11:21 张浦 阅读(55) 评论(0) 推荐(0) 编辑