摘要: 题目链接 Dima loves representing an odd number as the sum of multiple primes, and Lisa loves it when there are at most three primes. Help them to represen 阅读全文
posted @ 2020-02-11 23:06 晴天要下雨 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题意: 你需要在城市里修建管道和支柱,管道和支柱的单位长度的价格分别为a,ba,b 给你一个长度为nn的0101序列,其中11表示这里需要通车,00表示这里不需要通车,高度为22的地方才可以通车(保证序列的头尾不需要通车) 如图,红色表示管道,黑色表示支柱,我们可以在一段单位区间建立一条S 阅读全文
posted @ 2020-02-11 22:48 晴天要下雨 阅读(261) 评论(0) 推荐(0) 编辑