观察操作
nike0good
这个作者很懒,什么都没留下…
展开
-
TC Member SRM 478 DIV 1(CarrotJumping-操作观察)
Problem Statement Rabbits often feel hungry, so when they go out to eat carrots, they jump as quickly as possible.Initially, rabbit Hanako stands at position init. From position x, she原创 2014-07-02 13:00:15 · 1375 阅读 · 0 评论 -
CF 525B(Pasha and String-贪心+找规律)
B. Pasha and Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha got a very beautiful string s for原创 2015-03-27 17:18:21 · 1376 阅读 · 0 评论 -
hiho 挑战赛10(01串-找规律决策)
题目1 : 01串时间限制:7000ms单点时限:1000ms内存限制:256MB描述给定两个整数n和m,求是否存在恰好包含n个0和m个1的01串S,使得S中不存在子串"001"和"11"。如果存在符合条件的01串则输出字典序最小的S,否则输出NO。输入一行两个整数,表示n和m。(0输出一行一个字符串,为字典序原创 2015-04-12 23:34:28 · 1486 阅读 · 0 评论