上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: J-Beautiful Numbers 链接:https://www.nowcoder.com/acm/contest/163/J 来源:牛客网 时间限制:C/C++ 8秒,其他语言16秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间 阅读全文
posted @ 2018-08-05 15:12 yzm10 阅读(251) 评论(0) 推荐(0) 编辑
摘要: gpa 链接:https://www.nowcoder.com/acm/contest/143/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 时间限制: 阅读全文
posted @ 2018-08-02 18:23 yzm10 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Problem J. Let Sudoku Rotate Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submiss 阅读全文
posted @ 2018-08-01 18:45 yzm10 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Maximum Element In A Stack 20.91% 10000ms 262144K As an ACM-ICPC newbie, Aishah is learning data structures in computer science. She has already known 阅读全文
posted @ 2018-07-28 20:58 yzm10 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: Shuffle Cards 链接:https://www.nowcoder.com/acm/contest/141/C来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: 阅读全文
posted @ 2018-07-26 21:26 yzm10 阅读(334) 评论(0) 推荐(0) 编辑
摘要: PACM Team 链接:https://www.nowcoder.com/acm/contest/141/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 阅读全文
posted @ 2018-07-26 20:35 yzm10 阅读(381) 评论(0) 推荐(0) 编辑
摘要: D-money 链接:https://www.nowcoder.com/acm/contest/140/D来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他 阅读全文
posted @ 2018-07-24 21:22 yzm10 阅读(253) 评论(0) 推荐(0) 编辑
摘要: FatMouse and Cheese FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is label 阅读全文
posted @ 2018-07-24 20:07 yzm10 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 度度熊与邪恶大魔王 度度熊为了拯救可爱的公主,于是与邪恶大魔王战斗起来。 邪恶大魔王的麾下有n个怪兽,每个怪兽有a[i]的生命值,以及b[i]的防御力。 度度熊一共拥有m种攻击方式,第i种攻击方式,需要消耗k[i]的晶石,造成p[i]点伤害。 当然,如果度度熊使用第i个技能打在第j个怪兽上面的话,会 阅读全文
posted @ 2018-07-19 18:28 yzm10 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Games Time Limit: 1000 ms Memory Limit: 65536 KiB Submit Statistic Problem Description Alice and Bob are playing a stone game. There are nn piles of s 阅读全文
posted @ 2018-07-19 18:10 yzm10 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 懒更,之前的删了补一个国赛总结 记yzm10的第一次国赛(赛点:首都经贸大学) 第一次就拿到了国一,运气不要太好~(同组lz学长豪取国特orz) 从省赛一路水过来,总算有了点成绩。其实最后一题有些遗憾,不过还好没有太大影响。 住的是汉庭,离学校不算远,骑车就能去学校。然后就是各种瞎转。 考试前一天晚 阅读全文
posted @ 2018-07-18 20:31 yzm10 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: Maze This story happened on the background of Star Trek. Spock, the deputy captain of Starship Enterprise, fell into Klingon’s trick and was held as p 阅读全文
posted @ 2018-07-16 21:39 yzm10 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Covering Covering Bob's school has a big playground, boys and girls always play games here after school. To protect boys and girls from getting hurt w 阅读全文
posted @ 2018-07-15 16:22 yzm10 阅读(402) 评论(0) 推荐(1) 编辑
摘要: 炸老师与他的女朋友们 Description qdu最帅的炸老师今天又要抽空去找他的女朋友们了,但是考虑到他的好gay友ycb仍是个单身狗,炸老师作为基友不希望打击他。所以他在找女朋友们的路途中必须要避开ycb老师,可他又不知道ycb的具体位置,只知道一些可能的位置,所以他必须要避开所有这些位置,同 阅读全文
posted @ 2018-04-24 17:25 yzm10 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 回文字符串 回文串是指aba、abba、cccbccc、aaaa这种左右对称的字符串。每个字符串都可以通过向中间添加一些字符,使之变为回文字符串。 回文字符串 例如:abbc 添加2个字符可以变为 acbbca,也可以添加3个变为 abbcbba。方案1只需要添加2个字符,是所有方案中添加字符数量最 阅读全文
posted @ 2018-04-19 00:09 yzm10 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 回文串划分 有一个字符串S,求S最少可以被划分为多少个回文串。 例如:abbaabaa,有多种划分方式。 a|bb|aabaa - 3 个回文串 a|bb|a|aba|a - 5 个回文串 a|b|b|a|a|b|a|a - 8 个回文串 其中第1种划分方式的划分数量最少。 a|bb|aabaa - 阅读全文
posted @ 2018-04-18 23:40 yzm10 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Knapsack problem Given a set of n items, each with a weight w[i] and a value v[i], determine a way to choose the items into a knapsack so that the tot 阅读全文
posted @ 2018-04-16 23:40 yzm10 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Simple String Problem Recently, you have found your interest in string theory. Here is an interesting question about strings. You are given a string S 阅读全文
posted @ 2018-04-15 19:42 yzm10 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Mountain Number One integer number x is called "Mountain Number" if: (1) x>0 and x is an integer; (2) Assume x=a[0]a[1]...a[len-2]a[len-1](0≤a[i]≤9, a 阅读全文
posted @ 2018-04-13 18:16 yzm10 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 最全DP总结 https://blog.csdn.net/cc_again/article/details/25866971 ACM题集 https://blog.csdn.net/liuqiyao_01/article/details/9079611 数位dp模板讲解 https://blog.c 阅读全文
posted @ 2018-04-13 15:57 yzm10 阅读(225) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页