2015年7月22日

舍罕王的失算-(处理很大的数据)

摘要: 1056: 【C语言训练】舍罕王的失算Time Limit:1 SecMemory Limit:128 MBSubmit:276Solved:248[Submit][Status][BBS]Description相传国际象棋是古印度舍罕王的宰相达依尔发明的.舍罕王十分喜爱象棋,决定让宰相自己选择何种... 阅读全文

posted @ 2015-07-22 20:38 甜蜜蜜吖甜蜜蜜 阅读(853) 评论(0) 推荐(0)

HUST 1010 The Minimum Length (KMP 最短循环节)

摘要: DescriptionThere is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I got a new string: AAAAAA...... Now I cut ... 阅读全文

posted @ 2015-07-22 11:32 甜蜜蜜吖甜蜜蜜 阅读(189) 评论(1) 推荐(0)

POJ-1961-Period

摘要: DescriptionFor 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 whe... 阅读全文

posted @ 2015-07-22 09:03 甜蜜蜜吖甜蜜蜜 阅读(173) 评论(0) 推荐(0)

导航