目标金奖
文章平均质量分 74
柒梓木宀
敲代码真好玩 (掉发)
展开
-
HDUoj 2045 不容易系列之(3)—— LELE的RPG难题
发篇尘封在电脑里的我的小笔记不容易系列之(3)—— LELE的RPG难题Time Limit:2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K(Java/Others)TotalSubmission(s): 58515 Accepted Submission(s): 23449 Problem Des原创 2018-01-01 21:59:14 · 208 阅读 · 0 评论 -
HDU 6628 permutation 1(暴力)
HDU 6628 permutation 1(暴力)原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=6628我的博客:http://acmerszq.cn题意: 找第k小的字典序的差分数列的原序列。思路: 赛后才写完代码,比赛中太憨憨,经队友川神提醒数据只用求到10000才醒悟(其实还想了下,然后这是他的博客 https://blog....原创 2019-08-05 20:09:07 · 378 阅读 · 0 评论 -
HDU-6216 A Cubic number and A Cubic Number 找规律+猜
HDU-6216 A Cubic number and A Cubic Number 找规律+猜Problem DescriptionA cubic number is the result of using a whole number in a multiplication three times. For example, 3×3×3=27 so 27 is a cubic number...原创 2018-11-14 20:40:06 · 154 阅读 · 0 评论 -
第十四届HNCCP湖南省赛 B 2018 组合数学+逆元 csuoj 2164
题目链接:CSU-ACM 21642018Description Bobo 想统计满足下面条件的矩阵 A 的数量。矩阵 A 有 n 行 m 列,每个元素都是正整数。第 i 行第 j 列的元素用 Ai, j 表示。 A1, 1 = 2018. 对于所有 2 ≤ i ≤ n, 1 ≤ j ≤ m,Ai, j 是 Ai − 1, j 的约数。 对于所有 1 ≤ i ≤ n, 2 ...原创 2018-09-08 12:55:42 · 920 阅读 · 1 评论 -
Distinct Values HDU - 6301(贪心)HDU 7.23多校网络赛
Distinct Values HDU - 6301先感谢下在B站直播讲题的清华大佬。ˋ( ° ▽、° ) 题目: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 a...原创 2018-07-24 12:01:45 · 290 阅读 · 0 评论 -
poj-1182 食物链
食物链 poj-1182题面:动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种说法是"1 X Y",表示X和Y是同类。第二种说法是"2 X Y",表示X吃Y。此人对N个动物,用上述...原创 2018-06-27 20:52:22 · 1032 阅读 · 5 评论 -
HDU1715 大菲波数
HDU 1715 大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 22964 Accepted Submission(s): 8264Problem Description Fibonacci数列,定义如下: ...原创 2018-05-29 21:02:34 · 159 阅读 · 0 评论 -
2018湘潭邀请赛K题题解
2018湘潭邀请赛K题题解K. 2018Given a, b, c, d, find out the number of pairs of integers (x, y) where a x b, c y d and x y is a multiple of 2018. InputThe input consists of several test cases and is terminated ...原创 2018-05-16 22:04:41 · 531 阅读 · 0 评论 -
2018湘潭邀请赛G题题解
2018湘潭邀请赛G题题解G. String TransformationBobo has a string S = s1s2 . . . sn consists of letter a, b and c. He can transform the string by inserting or deleting substrings aa, bb and abab.Formally, A = u ...原创 2018-05-16 21:31:30 · 297 阅读 · 0 评论 -
2018湘潭邀请赛F题题解
2018湘潭邀请赛F题题解F. SortingBobo has n tuples (a1, b1, c1), (a2, b2, c2), . . . , (an, bn, cn). He would like to find the lexicographically smallest permutation p1, p2, . . . , pn of 1, 2, . . . , n such ...原创 2018-05-16 21:17:39 · 281 阅读 · 0 评论 -
2018湘潭邀请赛A题题解
2018湘潭邀请赛A题题解做题网址:点击打开链接下面是原题题目:A. Easy h-indexThe h-index of an author is the largest h where he has at least h papers with citations not less than h.Bobo has published many papers. Given a0, a1, a2,...原创 2018-05-16 20:52:28 · 553 阅读 · 0 评论 -
2083 Fractal
FractalTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 11143 Accepted: 4988DescriptionA fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all ...原创 2018-05-19 21:47:45 · 228 阅读 · 0 评论 -
51NOD 1416 两点
1416 两点 题目来源: CodeForces基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题福克斯在玩一款手机解迷游戏,这个游戏叫做”两点”。基础级别的时候是在一个n×m单元上玩的。像这样: 每一个单元有包含一个有色点。我们将用不同的大写字母来表示不同的颜色。这个游戏的关键是要找出一个包含同一颜色的环。看上图中4个蓝点,形成了一个环。一般的,我们将一个序列 d...原创 2018-03-21 20:29:23 · 330 阅读 · 0 评论 -
POJ 1046 Color Me Less
Color Me LessTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 35111 Accepted: 17049DescriptionA color reduction is a mapping from a set of discrete colors to a smaller one. The solution to th...原创 2018-03-07 21:27:30 · 315 阅读 · 0 评论 -
HDU 1048 The Hardest Problem Ever
The Hardest Problem EverTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29319 Accepted Submission(s): 13746Problem DescriptionJulius Caesar l...原创 2018-03-07 19:37:57 · 181 阅读 · 0 评论 -
母牛的故事
母牛的故事Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 92642 Accepted Submission(s): 45710Problem Description有一头母牛,它每年年初生一头小母牛。每头小母原创 2018-01-24 19:41:50 · 192 阅读 · 0 评论 -
CSUFT OJ 1141: Real Big Water Problem
CSUFT OJ 1141: Real Big Water ProblemTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 22 Solved: 5DescriptionIf you have solved the small wat原创 2018-01-24 19:34:26 · 1240 阅读 · 0 评论 -
HDU6627 equation (枚举+数学)
HDU6627 equation (枚举+数学)题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6627我的博客:https://acmerszq.cn题意: 求解方程,(∑i=1n∣ai∗x+bi∣)=C(\sum_{i=1}^n {|a_i*x+b_i|}) = C(∑i=1n∣ai∗x+bi∣)=C,求满足所有条件的x。无限个解的...原创 2019-08-07 11:47:24 · 275 阅读 · 0 评论