2013年7月15日

POJ 1007 DNA Sorting

摘要: DNA SortingTime Limit:1000MSMemory Limit:10000KTotal Submissions:74133Accepted:29661DescriptionOne measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence ``DAABEC'', this measu 阅读全文

posted @ 2013-07-15 22:15 lzm风雨无阻 阅读(240) 评论(0) 推荐(0) 编辑

POJ 2388 Who's in the Middle

摘要: Who's in the MiddleTime Limit:1000MSMemory Limit:65536KTotal Submissions:27445Accepted:15856DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as much or more than the median; half give as much o 阅读全文

posted @ 2013-07-15 20:56 lzm风雨无阻 阅读(472) 评论(0) 推荐(0) 编辑

POJ 2231 Moo Volume

摘要: Moo VolumeTime Limit:1000MSMemory Limit:65536KTotal Submissions:18163Accepted:5347DescriptionFarmer John has received a noise complaint from his neighbor, Farmer Bob, stating that his cows are making too much noise.FJ's N cows (1 #include #include #include using namespace std;int main(){ int n; 阅读全文

posted @ 2013-07-15 18:24 lzm风雨无阻 阅读(399) 评论(0) 推荐(0) 编辑

导航