【多校联赛】
riba2534
没有谁生来就是神牛,而千里之行,始于足下!
展开
-
HDU6130 Kolakoski(模拟,2017 HDU多校联赛 第7场)
题目: Kolakoski Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 540 Accepted Submission(s): 281 Problem Description This is原创 2017-08-16 10:04:58 · 745 阅读 · 0 评论 -
HDU6301 Distinct Values(2018HDU多校联赛第一场,思路,贪心,set)
Problem Description Chiaki has an array of n positive integers. You are told some facts about the array: for every two elements ai and aj in the subarray al..r (l≤i Input There are mult...原创 2018-07-24 02:00:09 · 569 阅读 · 0 评论 -
HDU6299 Balanced Sequence(2018HDU多校联赛第一场,思路,贪心)
Problem Description Chiaki has n strings s1,s2,…,sn consisting of ‘(’ and ‘)’. A string of this type is said to be balanced: if it is the empty string if A and B are balanced, AB is b...原创 2018-07-24 13:14:24 · 340 阅读 · 0 评论 -
HDU6315 Naive Operations(2018HDU多校联赛第二场,线段树)
Problem Description In a galaxy far, far away, there are two integer sequence a and b of length n. b is a static permutation of 1 to n. Initially a is filled with zeroes. There are two kind ...原创 2018-07-26 16:22:38 · 525 阅读 · 0 评论 -
HDU6341 Problem J. Let Sudoku Rotate(2018HDU多校联赛第四场,数独,DFS)
Problem Description Sudoku is a logic-based, combinatorial number-placement puzzle, which is popular around the world. In this problem, let us focus on puzzles with 16×16 grids, which consist o...原创 2018-08-04 09:07:11 · 710 阅读 · 0 评论 -
HDU6324 Problem F. Grab The Tree(2018HDU多校联赛第三场,博弈)
Problem Description Little Q and Little T are playing a game on a tree. There are n vertices on the tree, labeled by 1,2,…,n, connected by n−1 bidirectional edges. The i-th vertex has the value of...原创 2018-07-31 10:31:21 · 401 阅读 · 0 评论 -
HDU6362 oval-and-rectangle(2018HDU多校联赛第六场,数学,积分)
Problem Description Patrick Star find an oval. The half of longer axes is on the x-axis with length a. The half of shorter axes is on the y-axis with length b. Patrick Star plan to choose...原创 2018-08-09 10:40:50 · 436 阅读 · 0 评论 -
HDU6319 Problem A. Ascending Rating(2018HDU多校联赛第三场,单调队列)
Problem Description Before the start of contest, there are n ICPC contestants waiting in a long queue. They are labeled by 1 to n from left to right. It can be easily found that the i-th contestan...原创 2018-07-31 16:43:07 · 451 阅读 · 0 评论 -
HDU6330 Problem L. Visual Cube(2018HDU多校联赛第三场,模拟)
Problem Description Little Q likes solving math problems very much. Unluckily, however, he does not have good spatial ability. Everytime he meets a 3D geometry problem, he will struggle to draw a ...原创 2018-07-31 18:03:40 · 343 阅读 · 0 评论 -
HDU6370 Werewolf(2018HDU多校联赛第六场,思路,dfs)
Problem Description “The Werewolves” is a popular card game among young people.In the basic game, there are 2 different groups: the werewolves and the villagers. Each player will debate a playe...原创 2018-08-09 23:17:29 · 350 阅读 · 0 评论 -
HDU6395 Sequence(2018HDU多校联赛第七场,整数分块,矩阵快速幂)
Problem Description Let us define a sequence as below ⎧⎩⎨⎪⎪⎪⎪⎪⎪F1F2Fn===ABC⋅Fn−2+D⋅Fn−1+⌊Pn⌋{F1=AF2=BFn=C⋅Fn−2+D⋅Fn−1+⌊Pn⌋\left\{\begin{eqnarray*} F_1 &=& A \\ F_2 &=& B \\ F_n &=& C\cdot{}F_...原创 2018-08-14 18:22:55 · 410 阅读 · 0 评论 -
HDU6351 Beautiful Now(2018HDU多校联赛第五场,思路)
Problem Description Anton has a positive integer n, however, it quite looks like a mess, so he wants to make it beautiful after k swaps of digits. Let the decimal representation of n as(x1x2⋯xm...原创 2018-08-07 15:53:09 · 548 阅读 · 0 评论 -
HDU6342 Problem K. Expression in Memories(2018HDU多校联赛第四场,模拟)
Problem Description Kazari remembered that she had an expression s0 before. Definition of expression is given below in Backus–Naur form. ::= | ::= “+” | “*” ::= “0” | ::= ...原创 2018-08-03 10:10:08 · 224 阅读 · 0 评论 -
HDU6354 Everything Has Changed(2018HDU多校联赛第五场,计算几何)
Problem Description Edward is a worker for Aluminum Cyclic Machinery. His work is operating mechanical arms to cut out designed models. Here is a brief introduction of his work. Assume the oper...原创 2018-08-07 17:04:48 · 394 阅读 · 0 评论 -
HDU6356 Glad You Came(2018HDU多校联赛第五场,线段树)
Problem Description Steve has an integer array a of length n (1-based). He assigned all the elements as zero at the beginning. After that, he made m operations, each of which is to update an inter...原创 2018-08-07 19:16:39 · 303 阅读 · 0 评论 -
HDU6401 Magic Square(2018HDU多校联赛第八场,模拟)
Problem Description A magic square is a 3×3 square, where each element is a single digit between 1 and 9 inclusive, and each digit appears exactly once. There are 4 different contiguous 2×2 subsqu...原创 2018-08-15 23:01:23 · 463 阅读 · 0 评论 -
HDU6400 Parentheses Matrix(2018HDU多校联赛第八场,构造)
Problem Description A parentheses matrix is a matrix where every element is either ‘(’ or ‘)’. We define the goodness of a parentheses matrix as the number of balanced rows (from left to right) an...原创 2018-08-15 23:41:18 · 306 阅读 · 0 评论 -
HDU6300 Triangle Partition(2018HDU多校联赛第一场,贪心)
Problem Description Chiaki has 3n points p1,p2,…,p3n. It is guaranteed that no three points are collinear. Chiaki would like to construct n disjoint triangles where each vertex comes from th...原创 2018-07-24 00:46:22 · 518 阅读 · 0 评论 -
HDU6308 Time Zone(2018HDU多校联赛第一场,模拟)
Problem Description Chiaki often participates in international competitive programming contests. The time zone becomes a big problem. Given a time in Beijing time (UTC +8), Chiaki would like...原创 2018-07-24 00:11:28 · 477 阅读 · 0 评论 -
HDU6298 Maximum Multiple(2018HDU多校联赛第一场,思路)
Problem Description Given an integer n, Chiaki would like to find three positive integers x, y and z such that: n=x+y+z, x∣n, y∣n, z∣n and xyz is maximum. Input There are multiple test ca...原创 2018-07-24 00:05:08 · 278 阅读 · 0 评论 -
HDU6095 Rikka with Competition(水题,2017 HDU多校联赛 第5场)
题目: Rikka with Competition Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 246 Accepted Submission(s): 205 Problem Description原创 2017-08-09 08:55:10 · 931 阅读 · 0 评论 -
HDU6090 Rikka with Graph(贪心,思路,2017 HDU多校联赛 第5场)
题目: Rikka with GraphTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 351 Accepted Submission(s): 228Problem Description As we know, Rikka i原创 2017-08-09 09:51:58 · 448 阅读 · 0 评论 -
HDU6077 Time To Get Up(模拟,2017 HDU多校联赛 第4场)
题目: Time To Get Up Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 0 Accepted Submission(s): 0 Problem Description Little原创 2017-08-03 17:23:07 · 461 阅读 · 0 评论 -
HDU6075 Questionnaire(思路,2017 HDU多校联赛 第4场)
题目: Questionnaire Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 26 Accepted Submission(s): 20 Special Judge Problem Descrip原创 2017-08-03 17:36:53 · 702 阅读 · 0 评论 -
HDU6106 Classes(思路,2017 HDU多校联赛 第6场)
题目: Classes Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 285 Accepted Submission(s): 183 Problem Description The school原创 2017-08-11 09:22:22 · 494 阅读 · 0 评论 -
HDU6098 Inversion(RMQ,2017 HDU多校联赛 第6场)
题目: Inversion Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 321 Accepted Submission(s): 218 Problem Description Give an a原创 2017-08-11 09:00:22 · 331 阅读 · 0 评论 -
HDU6103 Kirinriki(尺取法,2017 HDU多校联赛 第6场)
题目: Kirinriki Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 926 Accepted Submission(s): 374 Problem Description We define原创 2017-08-11 11:09:49 · 462 阅读 · 0 评论 -
HDU6055 Regular polygon(计算几何,2017 HDU多校联赛 第2场)
题目: Regular polygon Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 170 Accepted Submission(s): 70 Problem Description On a原创 2017-07-27 18:45:03 · 1586 阅读 · 0 评论 -
HDU6034 Balala Power!(贪心,坑!!!)(2017 HDU多校联赛第一场)
题目: Balala Power! Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 2894 Accepted Submission(s): 637 Problem Description原创 2017-07-26 12:22:12 · 651 阅读 · 0 评论 -
HDU6045 Is Derek lying?(规律,2017 HDU多校联赛 第2场)
题目: Is Derek lying? Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 501 Accepted Submission(s): 302 Problem Description Der原创 2017-07-28 10:11:01 · 462 阅读 · 0 评论 -
HDU6047 Maximum Sequence(贪心,2017 HDU多校联赛 第2场)
题目; Maximum SequenceTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 57 Accepted Submission(s): 25Problem Description Steph is extremely ob原创 2017-07-27 17:58:31 · 1138 阅读 · 3 评论 -
HDU6181 Two Paths(次短路,路径记录,spfa,2017 HDU多校联赛 第10场)
Description You are given a undirected graph with n nodes (numbered from 1 to n) and m edges. Alice and Bob are now trying to play a game. Both of them will take different route from 1 to n (n原创 2017-08-24 22:44:20 · 729 阅读 · 0 评论 -
HDU6165 FFF at Valentine(深搜dfs,2017 HDU多校联赛 第9场)
题目: FFF at Valentine Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 456 Accepted Submission(s): 224 Problem Description原创 2017-08-23 09:34:13 · 392 阅读 · 0 评论 -
HDU6168 Numbers(模拟,2017 HDU多校联赛 第9场)
Description zk has n numbers a1,a2,…,an. For each (i,j) satisfying 1≤i<j≤n, zk generates a new number (ai+aj). These new numbers could make up a new sequence b1,b2,…,bn(n−1)/2. LsF wants to mak原创 2017-08-23 10:35:17 · 331 阅读 · 0 评论 -
HDU6170 Two strings(dp,2017 HDU多校联赛 第9场)
Description Giving two strings and you should judge if they are matched. The first string contains lowercase letters and uppercase letters. The second string contains lowercase letters, upperca原创 2017-08-23 15:06:29 · 415 阅读 · 0 评论 -
HDU6092 Rikka with Subset(01背包,2017 HDU多校联赛 第5场)
题目: Rikka with Subset Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 972 Accepted Submission(s): 476 Problem Description A原创 2017-08-09 11:01:53 · 316 阅读 · 0 评论 -
HDU6406 Taotao Picks Apples(2018HDU多校联赛第八场,线段树)
Problem Description There is an apple tree in front of Taotao’s house. When autumn comes, n apples on the tree ripen, and Taotao will go to pick these apples. When Taotao picks apples, Taotao s...原创 2018-08-17 10:19:35 · 510 阅读 · 0 评论