标签 - HDU

? 解题记录 ? ? HDU ? ? 线性基 ?    2018-04-02 23:33:03    483    0    0
 Problem Description XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we can get its value by check the digit of corresponding position in A and B. And for each digit, 1 XOR 1 = 0, 1 XOR 0 = 1, 0 XOR 1 = 1, 0 XOR
? 解题记录 ? ? HDU ? ? 高斯消元 ?    2018-04-02 16:22:13    404    0    0
Problem Description Alice has received a beautiful present from Bob. The present contains n lanterns and m switches. Each switch controls some lanterns and pushing the switch will change the state of all lanterns it controls from off to on or from on to off. A lantern may be controlled by many switc
? 解题记录 ? ? 生成函数 ? ? HDU ?    2018-03-12 20:09:26    338    0    0
Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says."The second problem is, given an positive integer N, we define an equation like this:  N=a[1]+a[2]+a[3]+...+a[m];  a[i]>0,1<=m<=N;My question i
? 解题记录 ? ? 生成函数 ? ? HDU ? ? 打表 ?    2018-03-12 18:34:02    445    0    0
Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all square numbers up to 289 (=17^2), i.e., 1-credit coins, 4-credit coins, 9-credit coins, ..., and 289-credit coins, are available in Silverland
? 解题记录 ? ? HDU ? ? 并查集 ? ? 倍增 ? ? 补档计划第一期 ?    2018-01-28 11:12:33    379    0    0
  After World War X, a lot of cities have been seriously damaged, and we need to rebuild those cities. However, some materials needed can only be produced in certain places. So we need to transport these materials from city to city. For most of roads had been totally destroyed during the war, t
? 解题记录 ? ? HDU ? ? 快速幂 ? ? 生成函数 ?    2018-01-18 13:39:01    478    0    0
Description Panda has received an assignment of painting a line of blocks. Since Panda is such an intelligent boy, he starts to think of a math problem of painting. Suppose there are N blocks in a line and each block can be paint red, blue, green or yellow. For some myterious reasons, Panda want bo
? HDU ? ? 解题记录 ? ? 生成函数 ? ? FFT|NTT ?    2018-01-18 09:13:18    542    0    0
Problem Description We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in Hang Zhou of China! “Oh, God! How terrible! ”Don’t be so afraid, guys. Although he hides in a cave of Hang Zhou, he dares not to go out.
? 解题记录 ? ? HDU ?    2018-01-16 15:21:11    459    0    0
Problem Description CRB has two strings s and t.In each step, CRB can select arbitrary character c of s and insert any character d (d ≠ c) just after it.CRB wants to convert s to t. But is it possible?   Input There are mult
? 解题记录 ? ? AC自动机 ? ? HDU ?    2018-01-16 14:55:53    430    0    0
Problem Description > The Eternal Fleet was built many centuries ago before the time of Valkorion by an unknown race on the planet of Iokath. The fate of the Fleet's builders is unknown but their legacy would live on. Its first known action was in the annihilation of all life in Wild Space. It sp
? 解题记录 ? ? HDU ? ? prufer序列 ? ? 动态规划 ?    2018-01-15 21:33:43    725    0    0
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 121    Accepted Submission(s): 59 Problem Description Clarke is a patient with multiple personality disorder. One day, Clarke turned into a CS, did a resear