摘要: D. String Deletion time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You have a string ss  阅读全文
posted @ 2020-10-20 21:07 Love-chili 阅读(107) 评论(0) 推荐(0)
摘要: 题目链接:https://ac.nowcoder.com/acm/contest/5666/F 正确做法是: 无限循环并不需要一直循环,只需要让无限循环应该具有的性质体现出来即可。 让最大长度的字符串展开二倍。这样所有的细节都会在这个新的字符串中体现。然后让小的字符串一直扩增,直到长度相同。 #in 阅读全文
posted @ 2020-07-16 16:43 Love-chili 阅读(111) 评论(0) 推荐(0)
摘要: 题目链接:https://vjudge.net/problem/POJ-3087 题意:两堆扑克s1,s2,每堆数量c张,每张颜色各异,字母表示颜色 A - H。给定一个2*c张的扑克堆s3,问s2与s1洗牌可否洗出s3的牌序。洗牌规则是s2的地步取一张放在s3的底部,再s1取1张放在s3的底部,再 阅读全文
posted @ 2020-07-16 15:37 Love-chili 阅读(105) 评论(0) 推荐(0)
摘要: Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which the 阅读全文
posted @ 2020-07-15 20:54 Love-chili 阅读(123) 评论(0) 推荐(0)
摘要: 恢复内容开始 初衷是学校大二上开设的 系统平台 课程,我自认为学习得不够深入,老师讲课比较“完成任务式”,很枯燥,而且口头禅很多,很难提起兴致去听。 至于考试还是很简单过了。 所以我想去深入学习一下,系统的全面的理解计算机系统,买了《深入理解计算机系统》。 书很厚实,文字生动有趣,目前2020年5月 阅读全文
posted @ 2020-05-10 16:19 Love-chili 阅读(154) 评论(0) 推荐(0)
摘要: A. Divisibility Problem time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two 阅读全文
posted @ 2020-03-27 16:37 Love-chili 阅读(172) 评论(0) 推荐(0)
摘要: B. Princesses and Princes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The King of Be 阅读全文
posted @ 2020-03-25 20:55 Love-chili 阅读(264) 评论(0) 推荐(0)
摘要: A. Sum of Odd Integers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given two 阅读全文
posted @ 2020-03-25 14:54 Love-chili 阅读(357) 评论(0) 推荐(0)