A.闪烁的繁星题目:https://vijos.org/p/1881题解:貌似做过小白逛公园或者序列操作都可以秒出吧,就是pushup函数比较麻烦,不过仔细想一想就知道了。代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #in... Read More
3540: [Usaco2014 Open]Fair PhotographyTime Limit:1 SecMemory Limit:128 MBSubmit:72Solved:29[Submit][Status]DescriptionFJ's N cows (2 =0;i--)last[i]=mi... Read More
3538: [Usaco2014 Open]Dueling GPSTime Limit:1 SecMemory Limit:128 MBSubmit:59Solved:36[Submit][Status]DescriptionFarmer John has recently purchased a ... Read More
3479: [Usaco2014 Mar]Watering the FieldsTime Limit:10 SecMemory Limit:128 MBSubmit:81Solved:42[Submit][Status]DescriptionDue to a lack of rain, Farmer... Read More
3433: [Usaco2014 Jan]Recording the MoolympicsTime Limit:10 SecMemory Limit:128 MBSubmit:55Solved:34[Submit][Status]DescriptionBeing a fan of all cold-... Read More
3412: [Usaco2009 Dec]Music Notes乐谱Time Limit:3 SecMemory Limit:128 MBSubmit:35Solved:30[Submit][Status]DescriptionInput第1行:两个整数N,Q.第2到N+1行:第i+l行只有一个整数... Read More
3410: [Usaco2009 Dec]Selfish Grazing 自私的食草者Time Limit:3 SecMemory Limit:128 MBSubmit:47Solved:40[Submit][Status]Description约翰有N(1≤N≤50000)头牛,约翰的草地可以认为... Read More
3404: [Usaco2009 Open]Cow Digit Game又见数字游戏Time Limit:3 SecMemory Limit:128 MBSubmit:47Solved:32[Submit][Status]Description贝茜和约翰在玩一个数字游戏.贝茜需要你帮助她.游戏一共进... Read More
3403: [Usaco2009 Open]Cow Line 直线上的牛Time Limit:3 SecMemory Limit:128 MBSubmit:48Solved:41[Submit][Status]Description题目描述约翰的N只奶牛(编为1到N号)正在直线上排队.直线上开始的时... Read More
3402: [Usaco2009 Open]Hide and Seek 捉迷藏Time Limit:3 SecMemory Limit:128 MBSubmit:51Solved:40[Submit][Status]Description贝茜在和约翰玩一个“捉迷藏”的游戏.她正要找出所有适合她躲藏的... Read More