09 2016 档案
摘要:谢谢YB。 题目链接 1 #include <cstdio> 2 typedef long long ll; 3 const int mod=1e9+7; 4 struct Matrix { 5 int a[4]; 6 Matrix () { 7 for (int i=0;i<4;i++) 8 a[
阅读全文
摘要:很简单的搜索题目,随便写。 也能枚举,因为每个点翻转2次和不翻转没区别,所以可以枚举每个点翻转或者不翻转 题目链接 1 #include <stdio.h> 2 #include <string.h> 3 int st; 4 char s[10]; 5 int q[70000],vis[70000]
阅读全文
摘要:转载过来,慢慢刷 初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993
阅读全文

浙公网安备 33010602011771号