摘要: cyk追楠神系列一 Time Limit: 1000 ms Memo... 阅读全文
posted @ 2018-08-01 08:58 Mercury_Lc 阅读(256) 评论(0) 推荐(0)
摘要: Substring Reverse ProblemTwo strings s and t of the same length are given. Determi... 阅读全文
posted @ 2018-07-31 15:22 Mercury_Lc 阅读(158) 评论(0) 推荐(0)
摘要: B - Reversing EncryptionA string s of length n can be encrypted by the following algorithm:iterate over all divisors of n in decreasin... 阅读全文
posted @ 2018-07-04 14:55 Mercury_Lc 阅读(234) 评论(0) 推荐(0)
摘要: C - Alphabetic Removals You are given a string s consisting of n lowercase Latin letters. Polycarp wants to remove exactly k character... 阅读全文
posted @ 2018-07-04 14:51 Mercury_Lc 阅读(173) 评论(0) 推荐(0)
摘要: 转自:https://www.cnblogs.com/xkfz007/articles/2419518.html 如有侵权请联系博主,立即删除。C++中的const关键字的用法非常灵活,而使用const将大大改善程序的健壮性,本人根据各方面查到的资料进行总结如下... 阅读全文
posted @ 2018-07-02 15:43 Mercury_Lc 阅读(122) 评论(0) 推荐(0)
摘要: 考新郎Problem Description在一场盛大的集体婚礼中,为了使婚礼进行的丰富一些,司仪临时想出了有一个有意思的节目,叫做"考新郎",具体的操作是这样的:首先,给每位新娘打扮得几乎一模一样,并盖上大大的红盖头随机坐成一排;然后,让各位新郎寻找自己的新娘.每人... 阅读全文
posted @ 2018-06-25 15:08 Mercury_Lc 阅读(152) 评论(0) 推荐(0)
摘要: 今天很伤心。 有些东西是不能去给别人分享的,比如莫名的生气,这些都是我们自己的负面,若是发泄到别人身上,产生的后果,或许不是你能够想像的。就像一滴墨水滴到洁净的水中,无论你再怎么去洗涤,只会越变越污浊,不再变得以往的那么清澈。 还记得看到一段小小的... 阅读全文
posted @ 2018-05-25 19:25 Mercury_Lc 阅读(128) 评论(0) 推荐(0)
摘要: 数塔Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 54722 Accepted Submission... 阅读全文
posted @ 2018-05-24 19:40 Mercury_Lc 阅读(93) 评论(0) 推荐(0)
摘要: 递归的函数 Time Limit: 1000 msMemory Limit: ... 阅读全文
posted @ 2018-04-21 15:35 Mercury_Lc 阅读(247) 评论(0) 推荐(0)
摘要: 删数问题Time Limit: 1000 msMemory Limit: 65536 KiBProblem Description 键盘输入一个高精度的正整数n(≤100位),去掉其中任意s个数字后剩下的数字按照原来的左右次序组成一个新的正整数。编程对给定的n与s,寻... 阅读全文
posted @ 2018-04-21 14:51 Mercury_Lc 阅读(220) 评论(0) 推荐(0)