随笔分类 - 乱 搞——贪心
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+..
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:1034: [ZJOI2008]泡泡堂BNB Description 第XXXX届NOI期间,为了加强各省选手之间的交流,组委会决定组织一场省际电子竞技大赛,每一个省的代表队由n名选手组成,比赛的项目是老少咸宜的网络游戏泡泡堂。每一场比赛前,对阵双方的教练向组委会提交一份参赛选手的名单,决定了选手上
阅读全文
摘要:Maximum Sequence Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1152 Accepted Submission(s): 537
阅读全文
摘要:Balala Power! Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3757 Accepted Submission(s): 907
阅读全文
摘要:Moo University - Financial Aid Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 9578 Accepted: 2785 Description Bessie noted that although h
阅读全文
摘要:Sunscreen Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9014 Accepted: 3164 Description To avoid unsightly burns while tanning, each of t
阅读全文
摘要:Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22142 Accepted Submission(s): 8902
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Pick apples Time Limit: 1000MS Memory Limit: 165536KB Submit Statistic Discuss Problem Description Once ago, there is a mystery yard which only produc
阅读全文
摘要:Restaurant Time Limit:4000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Restaurant Submit Status Description A restaurant recei
阅读全文
摘要: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
阅读全文
摘要:tmk买礼物 Description 今天是校赛的日子,为了庆祝这么喜庆的日子,TMK打算买些礼物给女票LSH庆祝一下。 TMK进入了雪梨超市,然后刚踏入的一瞬间,店主就对TMK说:“恭喜你成为了本店第2147483647位顾客,本店在搞一个活动,对本店第2147483647位顾客进行赠送活动。你先
阅读全文
摘要:无题 Problem Description 就要复试了,外地的考生都要在学校附近住宾馆了。假设在学校附近有C家宾馆,并且这些宾馆只有单人房,而每家宾馆的价格不一样,学生们都想找价格便宜的住,所以现在需要你的帮助,当有学生需要住宾馆的时候,告诉他哪个宾馆还有空的房间并且价格最便宜。而且有一个要求,同
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
1