HDOJ ( Bestcoder )
文章平均质量分 61
Pure_W
博主很懒=w=
展开
-
【HDOJ】【BestCoder Round #84】1001 Aaronson
【HDOJ】【BestCoder Round #84】1001 Aaronson 问题描述给出一个不定方程x 0 +2x 1 +4x 2 +...+2 m x m =n x_{0}+2x_{1}+4x_{2}+...+2^{m}x_{m}=n, 找出一组解(x 0 ,x 1 ,x 2 ,...,x m ) (x_0,x_1,x_2,...,x_m),原创 2016-07-25 18:46:23 · 468 阅读 · 0 评论 -
【HDOJ】5996(BestCoder #90 B)dingyeye loves stone
【HDOJ】5996(BestCoder #90 B)dingyeye loves stone传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5996以下只是搬题解并重组了语言……原创 2017-03-05 22:11:18 · 360 阅读 · 0 评论 -
【HDOJ】5995 (BestCoder Round #90)Kblack loves flag
【HDOJ】5995 (BestCoder Round #90)Kblack loves flag传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5995模拟原创 2017-02-22 22:15:17 · 328 阅读 · 0 评论 -
【HDOJ】【BC91】Lotus and Characters
【HDOJ】【BC91】Lotus and Characters传送门 acm.hdu.edu.cn/showproblem.php?pid=6011Solution纯暴力……比赛时一脸智障地被叉掉了QwQ原创 2017-01-23 21:35:59 · 307 阅读 · 0 评论 -
【HDOJ】【BC91】6012 Lotus and Horticulture
【HDOJ】【BC91】6012 Lotus and Horticulture传送门http://acm.hdu.edu.cn/showproblem.php?pid=6012Solution很经典的问题,把所有的变化点按温度排序后扫一次 比赛时追求速度,写得很丑原创 2017-01-22 00:49:49 · 416 阅读 · 0 评论 -
【HDOJ】5992 Finding Hotels
【HDOJ】5992 Finding Hotels 2016ACM/ICPC亚洲区青岛站-重现赛(感谢中国石油大学)原创 2016-11-24 18:11:27 · 702 阅读 · 0 评论 -
【HDOJ】5945 Fxx and game
【HDOJ】5945 Fxx and gameProblem DescriptionYoung theoretical computer scientist Fxx designed a game for his students.原创 2016-10-30 23:03:32 · 443 阅读 · 0 评论 -
【HDOJ】5908 Abelian Period
【HDOJ】5908 Abelian PeriodProblem DescriptionLet S be a number string, and occ(S,x) means the times that number x occurs in S.i.e.原创 2016-10-19 22:13:04 · 454 阅读 · 0 评论 -
【HDOJ】5907 Find Q
【HDOJ】5907 Find QProblem DescriptionByteasar is addicted to the English letter ‘q’. Now he comes across a string S consisting of lowercase English letters.原创 2016-10-19 22:04:50 · 494 阅读 · 0 评论 -
【HDOJ】5914 Triangle 2016CCPC长春
【HDOJ】5914 Triangle 2016CCPC长春Problem DescriptionMr. Frog has nn sticks, whose lengths are 1,2, 3⋯n respectively.原创 2016-10-19 21:53:41 · 538 阅读 · 0 评论 -
【HDOJ】5918 Sequence I CCPC2016 长春
【HDOJ】5918 Sequence I CCPC2016 长春Problem DescriptionMr. Frog has two sequences a1,a2,⋯,ana_1,a_2,⋯,a_n and b1,b2,⋯,bmb_1,b_2,⋯,b_m and a number pp.原创 2016-11-03 18:32:31 · 385 阅读 · 0 评论 -
【HDOJ】【BestCoder 2nd Anniversary】1003 Wool
【HDOJ】【BestCoder 2nd Anniversary】1003 Wool问题描述黎明时,Venus Venus为Psyche Psyche定下了第二个任务。她要渡过河,收集对岸绵羊身上的金羊毛。那些绵羊狂野不驯,所以Psyche Psyche一直往地上丢树枝来把它们吓走。地上现在有n n根树枝,第i i根树枝的长度是a i a_i 如果她丢的下一根树枝可以和某两根树枝形成三角形,绵羊就会被激怒而袭击她。原创 2016-07-21 14:25:43 · 465 阅读 · 0 评论 -
【HDOJ】【百度之星】5700 区间交
【HDOJ】【百度之星】5700 区间交原创 2016-06-18 16:17:51 · 358 阅读 · 0 评论 -
【HDOJ】【百度之星】5699 货物运输
【HDOJ】【百度之星】5699 货物运输原创 2016-06-20 21:02:55 · 899 阅读 · 0 评论 -
【HDOJ】【BestCoder Round #84】1004 Dertouzos
【HDOJ】【BestCoder Round #84】1004 Dertouzos 问题描述正整数x x称为n n的positive positive proper proper divisor divisor, 当且仅当x|n x | n并且1≤x<n 1 \le x < n. 例如, 1,2, 1, 2, 和3 3是6 6的原创 2016-07-25 19:51:34 · 540 阅读 · 0 评论 -
【HDOJ】5628 Clarke and math
【HDOJ】5628 Clarke and math传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5628狄利克雷卷积 * 的定义 (f*g)(n)= \sum\limits_{d|n}^{}f(d)×g(\frac{n}{d}) 然后这个过程是支持交换律结合律的原创 2017-03-29 21:19:08 · 262 阅读 · 0 评论