- 博客(3)
- 收藏
- 关注
原创 HDU 1160 FatMouse's Speed
Problem DescriptionFatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice and put as large a subset of this data as pos
2015-06-16 10:37:54 319
原创 POJ 3069 Saruman's Army
DescriptionSaruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman distributes seeing stones, known as palantirs, among the
2015-06-10 11:20:12 368
原创 Poj 3544 Journey with Pigs
/*Poj 3544 Journey with Pigs将n头猪卖给n个村庄,猪重wi,每个村庄到起点的距离是dj,每斤猪肉在第j个村庄的单价是pj,每斤猪肉运输一个单位长度花费t元,为保证赚到最多的钱,该怎样分配?输入n,t。接着输入,第一行为n个数表示猪的重量,第二行为n个数表示到村庄的距离,第三行为n个数表示每个村庄的猪肉价格。输出n个数,第j个数表示出售到第j个村庄的猪的编号,每只
2015-06-09 10:30:03 314
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人