其他
文章平均质量分 75
安庆闪耀
这个作者很懒,什么都没留下…
展开
-
hdu 5676 ztr loves lucky numbers(STL大法好)
hdu 5676原创 2016-04-30 22:46:36 · 4809 阅读 · 9 评论 -
hdu 5650 so easy(水题)
Problem DescriptionGiven an array withnintegers, assume f(S) as the result of executing xor operation among all the elements of set S. e.g. if S={1,2,3} then f(S)=0.your task is: cal原创 2016-04-10 20:28:26 · 460 阅读 · 0 评论 -
hdu 5655 CA Loves Stick(水题)
Problem DescriptionCA loves to play with sticks.One day he receives four pieces of sticks, he wants to know these sticks can spell a quadrilateral.(What is quadrilateral? Click here: https://e原创 2016-04-10 20:19:46 · 304 阅读 · 0 评论 -
hdu 5112 A Curious Matt(排序)
Problem DescriptionThere is a curious man called Matt.One day, Matt's best friend Ted is wandering on the non-negative half of the number line. Matt finds it interesting to know the maximal sp原创 2016-03-06 13:47:04 · 313 阅读 · 0 评论 -
Codeforces 579A. Raising Bacteria(位运算)
You are a lover of bacteria. You want to raise some bacteria in a box.Initially, the box is empty. Each morning, you can put any number of bacteria into the box. And each night, every bacterium in原创 2016-04-22 17:58:33 · 466 阅读 · 0 评论 -
Codeforces 558C. Amr and Chemistry(暴搞)
Amr loves Chemistry, and specially doing experiments. He is preparing for a new interesting experiment.Amr has n different types of chemicals. Each chemical i has an initial volume of ai liters.原创 2016-04-22 18:01:22 · 1227 阅读 · 0 评论 -
hdu 5671 Matrix(模拟)
Problem DescriptionThere is a matrix M that has n rows and m columns (1≤n≤1000,1≤m≤1000).Then we perform q(1≤q≤100,000) operations:1 x y: Swap row x and row y (1≤x,y≤n);2 x y: Swap c原创 2016-04-23 09:35:03 · 398 阅读 · 0 评论 -
hdu 5670 Machine(水题)
Problem DescriptionThere is a machine with m(2≤m≤30) coloured bulbs and a button.When the button is pushed, the rightmost bulb changes.For any changed bulb,if it is red now it will be gree原创 2016-04-23 09:37:34 · 292 阅读 · 0 评论 -
hdu 5660 jrMz and angles(水题)
Problem DescriptionjrMz has two types of angles, one type of angle is an interior angle of n-sided regular polygon, and the other type of angle is an interior angle of m-sided regular polygon.原创 2016-04-23 09:39:45 · 278 阅读 · 0 评论 -
poj 2663 Tri Tiling(推公式)
DescriptionIn how many ways can you tile a 3xn rectangle with 2x1 dominoes? Here is a sample tiling of a 3x12 rectangle. InputInput consists of several test cases followed by a line co原创 2016-04-10 20:49:51 · 327 阅读 · 0 评论 -
hdu 5714 &&2016 百度之星复赛 1003 拍照(排序+思考)
拍照Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 255 Accepted Submission(s): 87Problem Description小明在旅游的路上看到了一条美丽的河,河上有许多船只,原创 2016-05-30 12:13:26 · 971 阅读 · 0 评论 -
hdu 5675 && BestCoder Round #82 ztr loves math(技巧题)
Problem Descriptionztr loves research Math.One day,He thought about the "Lower Edition" of triangle equation set.Such as n=x2−y2.He wanted to know that ,for a given number n,is there a positiv原创 2016-04-30 22:53:28 · 782 阅读 · 0 评论 -
poj 1455 Crazy tea party(数学)
Crazy tea partyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7318 Accepted: 4973Descriptionn participants of > sit around the table. Each minute one p原创 2016-05-01 20:28:28 · 545 阅读 · 0 评论 -
hdu 5414 CRB and String(字符串模拟)
CRB and StringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1658 Accepted Submission(s): 539Problem DescriptionCRB has two原创 2016-05-02 14:32:34 · 6893 阅读 · 0 评论 -
poj 2541 Binary Witch(状态压缩)
Binary WitchTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1521 Accepted: 558DescriptionOnce upon a time in the silent depths of digital forests there原创 2016-05-28 14:14:01 · 544 阅读 · 0 评论 -
hdu 4823 Energy Conversion(水题)
Energy ConversionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1387 Accepted Submission(s): 539Problem Description 魔法师百小度也原创 2016-05-28 14:40:29 · 587 阅读 · 0 评论 -
hdu 5459 Jesus Is Here(推公式)
Jesus Is HereTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 65535/102400 K (Java/Others)Total Submission(s): 510 Accepted Submission(s): 366Problem DescriptionI've sent Fan原创 2016-05-28 14:49:43 · 492 阅读 · 0 评论 -
hdu 5461 Largest Point(暴搞)
Largest PointTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1450 Accepted Submission(s): 579Problem DescriptionGiven the seq原创 2016-05-28 14:52:35 · 481 阅读 · 0 评论 -
hdu 5455 Fang Fang(暴力)
Fang FangTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1294 Accepted Submission(s): 541Problem DescriptionFang Fang says sh原创 2016-05-28 14:55:17 · 532 阅读 · 0 评论 -
5710 Digit-Sum(找规律)
Digit-SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 53 Accepted Submission(s): 22Problem DescriptionLet S(N) be digit-原创 2016-06-10 19:06:09 · 1732 阅读 · 0 评论