无谓的味道

导航

2015年10月16日 #

poj 1840 Eqs

摘要: DescriptionConsider equations having the following form:a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0The coefficients are given integers from the interval [-50,... 阅读全文

posted @ 2015-10-16 14:55 无谓的味道 阅读(153) 评论(0) 推荐(0) 编辑

2015年10月15日 #

hdu 1166 敌兵布阵(线段树)

摘要: Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一... 阅读全文

posted @ 2015-10-15 19:48 无谓的味道 阅读(183) 评论(0) 推荐(0) 编辑

2015年10月14日 #

poj 2586 Y2K Accounting Bug

摘要: DescriptionAccounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc.All... 阅读全文

posted @ 2015-10-14 20:46 无谓的味道 阅读(159) 评论(0) 推荐(0) 编辑

2015年10月12日 #

hdu 1754 I Hate It(线段树)

摘要: Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到... 阅读全文

posted @ 2015-10-12 21:02 无谓的味道 阅读(154) 评论(0) 推荐(0) 编辑

poj 2299 Ultra-QuickSort(归并排序,树状数组,线段树)

摘要: DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文

posted @ 2015-10-12 15:23 无谓的味道 阅读(163) 评论(0) 推荐(0) 编辑

2015年10月11日 #

poj 2506 Tiling(高精度)

摘要: DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?Here is a sample tiling of a 2x17 rectangle.InputInput is a sequence of l... 阅读全文

posted @ 2015-10-11 15:43 无谓的味道 阅读(156) 评论(1) 推荐(0) 编辑

2015年10月9日 #

poj 2524 Ubiquitous Religions(并查集)

摘要: DescriptionThere are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out ... 阅读全文

posted @ 2015-10-09 18:50 无谓的味道 阅读(133) 评论(0) 推荐(0) 编辑

poj 2109 Power of Cryptography

摘要: DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in ... 阅读全文

posted @ 2015-10-09 15:00 无谓的味道 阅读(135) 评论(0) 推荐(0) 编辑

2015年10月8日 #

poj 1125 Stockbroker Grapevine(最短路径)

摘要: DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockb... 阅读全文

posted @ 2015-10-08 21:07 无谓的味道 阅读(269) 评论(0) 推荐(0) 编辑

2015年10月4日 #

poj 2240 Arbitrage(最短路问题)

摘要: DescriptionArbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same cu... 阅读全文

posted @ 2015-10-04 19:20 无谓的味道 阅读(272) 评论(0) 推荐(0) 编辑