上一页 1 ··· 3 4 5 6 7
摘要: Tautology Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16817 Accepted: 6500 Description WFF 'N PROOF is a logic game played with dice. E 阅读全文
posted @ 2020-10-04 20:45 我是菜狗QAQ 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Post Office Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 23668 Accepted: 12705 Description There is a straight highway with villages alo 阅读全文
posted @ 2020-10-04 19:51 我是菜狗QAQ 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1021 石子归并 N堆石子摆成一条线。现要将石子有次序地合并成一堆。规定每次只能选相邻的2堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的代价。计算将N堆石子合并成一堆的最小代价。 例如: 1 2 3 4,有不少合并方法 1 2 3 4 => 3 3 4(3) => 6 4(9) => 10 阅读全文
posted @ 2020-10-04 00:53 我是菜狗QAQ 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Description The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors 阅读全文
posted @ 2020-10-02 12:09 我是菜狗QAQ 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Description Given two integers a and b, we write the numbers between a and b, inclusive, in a list. Your task is to calculate the number of occurrence 阅读全文
posted @ 2020-10-02 11:24 我是菜狗QAQ 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if: 1) Every even digit appea 阅读全文
posted @ 2020-10-01 21:13 我是菜狗QAQ 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 题目背景 “恭喜你,珈百璃,你以学年首席的优秀成绩毕业” 珈百璃,一位优秀的天使,今天她以学年首席的成绩毕业,从今往后,她将前往人间进行进一步修炼。 “我会努力给人类带来幸福的!”珈百璃憧憬着人间生活 开学第一天,珈百璃就凭借着他及其可爱的外表,受到了班级成员的追捧,不仅长得可爱,成绩还很优秀,简直 阅读全文
posted @ 2020-10-01 21:10 我是菜狗QAQ 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=6774 先翻译一下题意: 给定字符串A、B,求下标从li到ri的A的子串与B的距离。 两个字符串的距离定义为在两个串中任意添加或删去字符使得两个串相等的最少操作数。 略微观察题意之后不难发现,对于两个串中 阅读全文
posted @ 2020-07-27 16:50 我是菜狗QAQ 阅读(129) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7