
题库
文章平均质量分 77
TaoismHuang
这个作者很懒,什么都没留下…
展开
-
HDU 5372 Segment Game(离散化+树状数组)
Problem DescriptionLillian is a clever girl so that she has lots of fans and often receives gifts from her fans.One day Lillian gets some segments from her fans Lawson with lengths of 1, 2, 3 … and she intends to display them by adding them to a number l原创 2021-10-20 11:37:37 · 138 阅读 · 0 评论 -
HDU 5334 Virtual Participation(2015多校第四场)
Problem DescriptionAs we know, Rikka is poor at math. Yuta is worrying about this situation, so he asks rikka to have some practice on codeforces. Then she opens the problem B:Given an integer K, she needs to come up with an sequence of integers A satisf原创 2021-10-20 11:25:53 · 145 阅读 · 0 评论 -
HDU 1754 I Hate It(线段树+单点更新)
Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结束。在每个测试第一行,有两个正整数N和M ( 0<N<=200000,0<M<5000 ),分别代表学生的数目和操作的数目。学生ID编号分别从1编到N。第二行包含N个整数,原创 2021-10-20 11:17:08 · 132 阅读 · 0 评论 -
HDU 5308 I Wanna Become A 24-Point Master(2015多校第二场)
Problem DescriptionRecently Rikka falls in love with an old but interesting game – 24 points. She wants to become a master of this game, so she asks Yuta to give her some problems to practice.Quickly, Rikka solved almost all of the problems but the remai原创 2021-10-20 11:06:41 · 148 阅读 · 0 评论 -
CodeForces 250B Restoring IPv6
Problem DescriptionAn IPv6-address is a 128-bit number. For convenience, this number is recorded in blocks of 16 bits in hexadecimal record, the blocks are separated by colons — 8 blocks in total, each block has four hexadecimal digits. Here is an example原创 2021-10-20 10:40:52 · 177 阅读 · 0 评论 -
HDU 5363 Key Set(快速幂取模)
Problem Descriptionsoda has a set S with n integers {1,2,…,n}. A set is called key set if the sum of integers in the set is an even number. He wants to know how many nonempty subsets of S are key set.InputThere are multiple test cases. The first line of原创 2021-10-19 18:21:32 · 169 阅读 · 0 评论