东北大学ACM刷题
文章平均质量分 71
Yac836
酷爱编程,我要编码整个世界
展开
-
1295: Fengsensei的测试
题目描述 Fengsensei最近新买了一台电脑,为了对cpu有更加深入的了解,Fengsensei开始了对这台电脑的双核 cpu进行测试。为了简化问题,我们进行如下的定义,cpu有两个核分别为A和B,每次测试共有n(n<100)个任务,每个任务在A,B上执行的时间分别为Ai,Bi(Ai,Bi<100).每个任务只能在cpu的其中一个核上执行,现在Fengsensei想知道执行完这些任务所需要的原创 2016-12-03 10:47:08 · 673 阅读 · 0 评论 -
1256: Nuclear Missile
题目描述 Country Uranux wants to launch its new nuclear missile recently. There are 3 types of missiles that Uranux has developed successful: Name: Juno Price per unit: 120millionRange:450kmName:原创 2016-12-03 10:52:26 · 716 阅读 · 0 评论 -
1227: Gang Black and Gang White
题目描述 There are only two gangs in the city, Gang Black and Gang White. There are N persons(2<=N<=50000) who belong to these two gangs(one person only belongs to one gang). They are numbered from 1 to原创 2016-12-04 14:45:41 · 496 阅读 · 0 评论 -
1031: Mincost
题目描述 The cost of taking a taxi in Hangzhou is not a constant for each kilometer you travel: the first 4 kilometers costs 10 yuan (yuan is the monetary unit in China), even if you don’t finish it; the原创 2016-12-05 08:42:59 · 619 阅读 · 0 评论