随笔分类 -  Codefroces

摘要:A. Set of Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a stringq. A seque... 阅读全文
posted @ 2015-05-08 13:09 BYYB_0506 阅读(598) 评论(0) 推荐(0)
摘要:// hdu2222 //#include#include#include#include#include#include#includeusing namespace std;char k[55],s[1000005];struct node{ int fail; int next[2... 阅读全文
posted @ 2015-05-02 01:28 BYYB_0506 阅读(119) 评论(0) 推荐(0)
摘要:A. Tavas and Nafastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Tavas got his test result... 阅读全文
posted @ 2015-04-15 17:28 BYYB_0506 阅读(303) 评论(0) 推荐(1)
摘要:B. Om Nom and Dark Parktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOm Nom is the main charact... 阅读全文
posted @ 2015-04-10 00:16 BYYB_0506 阅读(249) 评论(0) 推荐(0)
摘要:题目大意: 就是说,对于一个起点,使得从这个起点开始,每次间隔相同的格子后,所经过的地方都是‘*’解题思路: 直接暴力,枚举起点+枚举公差代码: 1 # include 2 # include 3 4 using namespace std; 5 6 # de... 阅读全文
posted @ 2015-04-09 20:25 BYYB_0506 阅读(155) 评论(0) 推荐(0)