摘要:
http://poj.org/problem?id=1961PeriodTime Limit:3000MSMemory Limit:30000KTotal Submissions:10855Accepted:4995DescriptionFor each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is a periodic string. That 阅读全文
摘要:
http://poj.org/problem?id=2488A Knight's JourneyTime Limit:1000MSMemory Limit:65536KTotal Submissions:24572Accepted:8305DescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. Whenever a knig 阅读全文