上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: 原题地址:http://codeforces.com/problemset/problem/527/C Examples input output input output 题意是给定一个矩形,不停地纵向或横向切割,问每次切割后,最大的矩形面积是多少。 最大矩形面积=最长的长*最宽的宽这题,长宽都是 阅读全文
posted @ 2019-08-02 16:28 jiamian22 阅读(252) 评论(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 阅读(691) 评论(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 阅读(196) 评论(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 阅读(389) 评论(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 阅读(248) 评论(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 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 看电视(区间贪心) 题目描述 暑假到了,小明终于可以开心的看电视了。但是小明喜欢的节目太多了,他希望尽量多的看到完整的节目。现在他把他喜欢的电视节目的转播时间表给你,你能帮他合理安排吗? 输入 输入包含多组测试数据。每组输入的第一行是一个整数n(n<=100),表示小明喜欢的节目的总数。接下来n行, 阅读全文
posted @ 2019-07-30 13:32 jiamian22 阅读(294) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3658 Description The oppressively hot summer days have raised the cows' clamoring to its highest level. Farmer John has fina 阅读全文
posted @ 2019-07-30 11:01 jiamian22 阅读(110) 评论(0) 推荐(0) 编辑
摘要: POJ-3657 Haybale Guessing(二分答案+并查集) http://poj.org/problem?id=3657 下方有中文版,不想看英文的可直接点这里看中文版题目 Description The cows, who always have an inferiority comp 阅读全文
posted @ 2019-07-29 18:04 jiamian22 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3659 Description Farmer John has decided to give each of his cows a cell phone in hopes to encourage their social interactio 阅读全文
posted @ 2019-07-29 10:52 jiamian22 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页