递推
johann_wyh
浙江大学 竺可桢学院 计算机科学与技术 在读
展开
-
【bzoj1009】[HNOI2008]GT考试
阿申准备报名参加GT考试,准考证号为N位数X1X2….Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2…Am(0<=Ai<=9)有M位,不出现是指X1X2…Xn中没有恰好一段等于A1A2…Am. A1和X1可以为0原创 2015-12-16 23:37:56 · 567 阅读 · 1 评论 -
【Codeforces Good Bye 2015】D. New Year and Ancient Prophecy
ProblemTime limit per test 2.5 seconds Memory limit per test 512 megabytes Input standard input Output standard outputDescriptionLimak is a little polar bear. In the snow he found a scroll wi原创 2016-01-20 22:55:03 · 727 阅读 · 1 评论