上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页
  2015年4月22日
摘要: 重温世界杯Problem Description世界杯结束了,意大利人连本带利的收回了法国人6年前欠他们的债,捧起了大力神杯,成就了4星意大利.世界杯虽然结束了,但是这界世界杯给我们还是留下许多值得回忆的东西.比如我们听到了黄名嘴的3分钟激情解说,我们懂得了原来可以向同一个人... 阅读全文
posted @ 2015-04-22 09:53 _fukua 阅读(198) 评论(0) 推荐(0) 编辑
  2015年4月20日
摘要: 二维费用的背包问题:指对于每件物品,具有2种不用的费用,选择这件物品需要同时付出2种代价对于每一种代价都有一个可付出的最大值(背包容量)问怎么样选择物品可以得到最大的价值设这2种代价分别为1,2第i件物品所需的2种代价为a[i] , b[i]2种代价可付出的最大值为U,V物品价值为w[i]费用增加了... 阅读全文
posted @ 2015-04-20 15:09 _fukua 阅读(222) 评论(0) 推荐(0) 编辑
  2015年4月18日
摘要: DescriptionSpies use attributes to disguise themselves to make sure that they are not recognized. For example, when putting on sunglasses, a spy sudde... 阅读全文
posted @ 2015-04-18 22:56 _fukua 阅读(242) 评论(0) 推荐(0) 编辑
  2015年4月17日
摘要: Wireless NetworkDescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless networ... 阅读全文
posted @ 2015-04-17 20:57 _fukua 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 食物链Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种... 阅读全文
posted @ 2015-04-17 00:08 _fukua 阅读(207) 评论(0) 推荐(0) 编辑
  2015年4月15日
摘要: DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Ga... 阅读全文
posted @ 2015-04-15 23:26 _fukua 阅读(264) 评论(0) 推荐(0) 编辑
摘要: A. Tavas and NafasToday Tavas got his test result as an integer score and he wants to share it with his girlfriend, Nafas.His phone operatin... 阅读全文
posted @ 2015-04-15 12:03 _fukua 阅读(225) 评论(0) 推荐(0) 编辑
  2015年4月13日
摘要: Sequence oneProblem DescriptionSearch is important in the acm algorithm. When you want to solve a problem by using the search method, try... 阅读全文
posted @ 2015-04-13 18:27 _fukua 阅读(263) 评论(0) 推荐(0) 编辑
摘要: A. ExamAn exam fornstudents will take place in a long and narrow room, so the students will sit in a line in some order. The teacher suspect... 阅读全文
posted @ 2015-04-13 16:22 _fukua 阅读(279) 评论(0) 推荐(0) 编辑
  2015年4月12日
摘要: 1.在用邻接矩阵存边时,要注意有重边的情况。2.double型用memset初始化貌似不可以,慎用memset3.用printf输出%的话要用%%.4.要注意判断有没有!=EOF,不然可能会tle。5.线段树区间更新的时候,update()和query() 都要调用pushdown()函数。 (做一... 阅读全文
posted @ 2015-04-12 00:38 _fukua 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页