上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: Codeforces Round #579 (Div. 3) Complete the Projects(贪心、DP) http://codeforces.com/contest/1203/problem/F1 Examples input 1 3 4 4 6 10 -2 8 -1 output 1 阅读全文
posted @ 2019-08-14 03:31 jiamian22 阅读(191) 评论(0) 推荐(0)
摘要: Work Scheduling(带反悔的贪心、优先队列) https://www.luogu.org/problem/P2949 题目描述 Farmer John has so very many jobs to do! In order to run the farm efficiently, h 阅读全文
posted @ 2019-08-13 14:09 jiamian22 阅读(359) 评论(0) 推荐(0)
摘要: https://www.luogu.org/problem/P1017 题目描述 我们可以用这样的方式来表示一个十进制数: 将每个阿拉伯数字乘以一个以该数字所处位置的值减1为指数,以10为底数的幂之和的形式。例如:123可表示为 1*102+2*101+3*100这样的形式。 与之相似的,对二进制数 阅读全文
posted @ 2019-08-12 17:50 jiamian22 阅读(383) 评论(0) 推荐(0)
摘要: 方格取数(多线程dp,深搜) https://www.luogu.org/problem/P1004 题目描述 设有N×N的方格图(N≤9),我们将其中的某些方格中填入正整数,而其他的方格中则放入数字0。如下图所示(见样例): 某人从图的左上角的A点出发,可以向下行走,也可以向右走,直到到达右下角的 阅读全文
posted @ 2019-08-11 14:31 jiamian22 阅读(1264) 评论(0) 推荐(0)
摘要: 原题地址:http://codeforces.com/problemset/problem/527/C Examples input output input output 题意是给定一个矩形,不停地纵向或横向切割,问每次切割后,最大的矩形面积是多少。 最大矩形面积=最长的长*最宽的宽这题,长宽都是 阅读全文
posted @ 2019-08-02 16:28 jiamian22 阅读(264) 评论(0) 推荐(0)
摘要: http://codeforces.com/problemset/problem/91/B B. Queue time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input outpu 阅读全文
posted @ 2019-08-01 13:50 jiamian22 阅读(766) 评论(0) 推荐(0)
摘要: 题目地址:POJ 2828 Buy Tickets Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a lon 阅读全文
posted @ 2019-08-01 10:45 jiamian22 阅读(224) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/1199/problem/D Examples input1 output1 input2 output2 Note In the first example the balances change as follows: 1 2 3 4  阅读全文
posted @ 2019-07-31 12:01 jiamian22 阅读(396) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3259 Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is ver 阅读全文
posted @ 2019-07-30 18:39 jiamian22 阅读(260) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3661 Description The cows are trying to become better athletes, so Bessie is running on a track for exactly N (1 ≤ N ≤ 10,00 阅读全文
posted @ 2019-07-30 13:45 jiamian22 阅读(148) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页