摘要:
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 struct node 8 { 9 int x;10 int s;11 };12 bool prim[10005];13 ... 阅读全文
posted @ 2015-01-28 15:25
天I火
阅读(254)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int x, y; 7 bool g[20][20]; 8 bool k[20][20]; 9 bool ans[20][20];10 bool flag;1... 阅读全文
posted @ 2015-01-28 13:44
天I火
阅读(653)
评论(0)
推荐(0)
摘要:
1 //Memory Time 2 //2236K 32MS 3 4 #include 5 using namespace std; 6 7 int mod[524286]; //保存每次mod n的余数 8 //由于198的余数序列是最长的 9 ... 阅读全文
posted @ 2015-01-27 20:56
天I火
阅读(393)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int n, k, c, ans; 9 int num[100005];10 int main()11 {12 //... 阅读全文
posted @ 2015-01-27 18:24
天I火
阅读(543)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 struct node 9 {10 int x;11 int y;12 int z;13 ... 阅读全文
posted @ 2015-01-27 17:46
天I火
阅读(249)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 struct node 8 { 9 int x;10 int y;11 };12 int n, k, l, ans;13 ... 阅读全文
posted @ 2015-01-27 17:10
天I火
阅读(197)
评论(0)
推荐(0)
浙公网安备 33010602011771号