随笔分类 -  乱 搞——贪心

1
摘要:DreamGrid has a nonnegative integer n . He would like to divide n into m nonnegative integers a1,a2,...am and minimizes their bitwise or (i.e.a1+a2+.. 阅读全文
posted @ 2017-10-31 17:21 勿忘初心0924 阅读(553) 评论(0) 推荐(0) 编辑
摘要:C. Bus time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A bus moves along the coordinate 阅读全文
posted @ 2017-09-26 11:08 勿忘初心0924 阅读(394) 评论(0) 推荐(0) 编辑
摘要:D. Make a Permutation! time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ivan has an array 阅读全文
posted @ 2017-09-26 11:04 勿忘初心0924 阅读(159) 评论(0) 推荐(0) 编辑
摘要:1034: [ZJOI2008]泡泡堂BNB Description 第XXXX届NOI期间,为了加强各省选手之间的交流,组委会决定组织一场省际电子竞技大赛,每一个省的代表队由n名选手组成,比赛的项目是老少咸宜的网络游戏泡泡堂。每一场比赛前,对阵双方的教练向组委会提交一份参赛选手的名单,决定了选手上 阅读全文
posted @ 2017-08-21 21:53 勿忘初心0924 阅读(103) 评论(0) 推荐(0) 编辑
摘要:Maximum Sequence Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1152 Accepted Submission(s): 537 阅读全文
posted @ 2017-07-28 17:39 勿忘初心0924 阅读(206) 评论(0) 推荐(0) 编辑
摘要:Balala Power! Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3757 Accepted Submission(s): 907 阅读全文
posted @ 2017-07-26 17:26 勿忘初心0924 阅读(278) 评论(0) 推荐(0) 编辑
摘要:Moo University - Financial Aid Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 9578 Accepted: 2785 Description Bessie noted that although h 阅读全文
posted @ 2017-07-20 17:57 勿忘初心0924 阅读(212) 评论(0) 推荐(0) 编辑
摘要:Sunscreen Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9014 Accepted: 3164 Description To avoid unsightly burns while tanning, each of t 阅读全文
posted @ 2017-07-19 17:19 勿忘初心0924 阅读(191) 评论(0) 推荐(0) 编辑
摘要:Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22142 Accepted Submission(s): 8902 阅读全文
posted @ 2017-07-19 12:32 勿忘初心0924 阅读(186) 评论(0) 推荐(0) 编辑
摘要:This year at Monsters University it is decided to arrange Scare Games. At the Games all campus gathers at the stadium stands, and the Scare program st 阅读全文
posted @ 2017-04-30 16:38 勿忘初心0924 阅读(146) 评论(0) 推荐(0) 编辑
摘要:Game Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1385 Accepted Submission(s): 452 Problem Des 阅读全文
posted @ 2017-04-29 21:18 勿忘初心0924 阅读(380) 评论(0) 推荐(0) 编辑
摘要:Kia's Calculation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3902 Accepted Submission(s): 78 阅读全文
posted @ 2017-04-28 20:22 勿忘初心0924 阅读(209) 评论(0) 推荐(0) 编辑
摘要:Pick apples Time Limit: 1000MS Memory Limit: 165536KB Submit Statistic Discuss Problem Description Once ago, there is a mystery yard which only produc 阅读全文
posted @ 2017-04-27 19:28 勿忘初心0924 阅读(626) 评论(0) 推荐(0) 编辑
摘要:Restaurant Time Limit:4000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Restaurant Submit Status Description A restaurant recei 阅读全文
posted @ 2017-03-30 17:41 勿忘初心0924 阅读(344) 评论(0) 推荐(0) 编辑
摘要:OR in Matrix Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status OR in Matrix Submit Status Description Let's define l 阅读全文
posted @ 2017-03-30 09:38 勿忘初心0924 阅读(217) 评论(0) 推荐(0) 编辑
摘要:tmk买礼物 Description 今天是校赛的日子,为了庆祝这么喜庆的日子,TMK打算买些礼物给女票LSH庆祝一下。 TMK进入了雪梨超市,然后刚踏入的一瞬间,店主就对TMK说:“恭喜你成为了本店第2147483647位顾客,本店在搞一个活动,对本店第2147483647位顾客进行赠送活动。你先 阅读全文
posted @ 2017-03-26 20:36 勿忘初心0924 阅读(250) 评论(0) 推荐(0) 编辑
摘要:无题 Problem Description 就要复试了,外地的考生都要在学校附近住宾馆了。假设在学校附近有C家宾馆,并且这些宾馆只有单人房,而每家宾馆的价格不一样,学生们都想找价格便宜的住,所以现在需要你的帮助,当有学生需要住宾馆的时候,告诉他哪个宾馆还有空的房间并且价格最便宜。而且有一个要求,同 阅读全文
posted @ 2017-02-14 05:50 勿忘初心0924 阅读(162) 评论(0) 推荐(0) 编辑
摘要:Doing Homework again Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher 阅读全文
posted @ 2017-02-11 10:46 勿忘初心0924 阅读(372) 评论(0) 推荐(0) 编辑
摘要:Assignments Problem Description In a factory, there are N workers to finish two types of tasks (A and B). Each type has N tasks. Each task of type A n 阅读全文
posted @ 2016-12-29 12:17 勿忘初心0924 阅读(373) 评论(0) 推荐(0) 编辑
摘要:B - Binary Tree Description The Old Frog King lives on the root of an infinite tree. According to the law, each node should connect to exactly two nod 阅读全文
posted @ 2016-11-08 22:01 勿忘初心0924 阅读(479) 评论(0) 推荐(0) 编辑

1