随笔分类 -  贪心

摘要:E. Subordinates time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n workers in a 阅读全文
posted @ 2016-11-23 15:08 jhz033 阅读(160) 评论(0) 推荐(0)
摘要:Auxiliary Set Time Limit: 9000/4500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Given a rooted tree with n vertices 阅读全文
posted @ 2016-10-06 19:49 jhz033 阅读(390) 评论(0) 推荐(0)
摘要:C. Polycarp at the Radio time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Polycarp at 阅读全文
posted @ 2016-10-04 18:23 jhz033 阅读(141) 评论(0) 推荐(0)
摘要:D. Generating Sets time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a set Y 阅读全文
posted @ 2016-10-02 16:17 jhz033 阅读(181) 评论(0) 推荐(0)
摘要:D. Maxim and Array time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Maxim has fo 阅读全文
posted @ 2016-10-01 14:12 jhz033 阅读(208) 评论(0) 推荐(0)
摘要:E. Distributing Parts time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are an assista 阅读全文
posted @ 2016-09-30 21:21 jhz033 阅读(161) 评论(0) 推荐(0)
摘要:A. Launch of Collider time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Launch of Colli 阅读全文
posted @ 2016-07-20 11:10 jhz033 阅读(224) 评论(0) 推荐(0)
摘要:Arrange Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description Accidentally, Cupid, god of desire has 阅读全文
posted @ 2016-07-17 22:43 jhz033 阅读(203) 评论(0) 推荐(0)
摘要:C. Recycling Bottles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Recycling Bottle 阅读全文
posted @ 2016-05-14 20:31 jhz033 阅读(277) 评论(0) 推荐(0)
摘要:D. Numbers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Numbers time limit per tes 阅读全文
posted @ 2016-05-03 18:35 jhz033 阅读(164) 评论(0) 推荐(0)
摘要:/*题意:给你一个序列经过最小变换,变换一次为一个数+1,一个数-1,使得最大值与最小值相差1;思路:与最后得到的序列相差的sum/2;*/#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; ... 阅读全文
posted @ 2016-03-20 10:44 jhz033 阅读(174) 评论(0) 推荐(0)