![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
Timeclimber
这个作者很懒,什么都没留下…
展开
-
codeforces 631C (单调栈+思维)
C. Reporttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach month Blake gets the report containing main原创 2017-11-22 20:14:14 · 501 阅读 · 0 评论 -
hdu 6560 思维
The HermitTime Limit: 25000/15000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 103 Accepted Submission(s): 69Problem DescriptionThe Hermit stands alone on...原创 2019-07-17 12:00:54 · 740 阅读 · 0 评论 -
牛客网暑期多校训练赛第二场 I题 (思维)
题目链接:https://www.nowcoder.com/acm/contest/140/I题意:在N*N的格点上放置汽车,汽车只能放置在一条边上,汽车要驶到另一条边。规定两汽车相撞会损坏或者两个汽车在同一直线的驶向方向相同是不允许的。并且格点上会有M个障碍物,障碍物是提前放好的。问他最多能摆放多少辆汽车? 思路:经过一些尝试可以发现N为奇数和偶数的汽车放置都是有规律的。...原创 2018-07-21 22:13:35 · 290 阅读 · 0 评论 -
牛客网暑期多校训练赛第三场 E题 Sort String
题目链接 题意:给了一个字符串,Si是由下标i到字符串末尾加上0到i-1组成的字符串,只有当字符串Si和Sj是相同的才算是在一组,问字符串可以分成多少组并按字典序最小的输出每组中的i下标。 思路:看到这题想到了哈希,然后哈希改来改去改到95%死活不过。还有9分钟的时候队友想出来了正解,可惜来不及敲了QAQ||这题最后是如果字符串是有循环节,并且完全由循环节构成的才能进行...原创 2018-07-26 18:35:50 · 214 阅读 · 0 评论 -
CF 483C Diverse Permutation(构造)
C. Diverse Permutationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPermutation p is an ordered set of integers p1, p2, ..., pn, consisting...原创 2018-07-06 14:18:10 · 368 阅读 · 0 评论 -
NEFU 1299 替换字符串 (思维)
替换字符串Problem:1299 Time Limit:1000msMemory Limit:65535KDescription给出一个只含 a b 字符的串,问不断将串中的 “ab” 字串替换为 “bba” 至少需要几次可以结束替换。Input一个只含 a b 的原创 2018-01-20 11:02:10 · 1171 阅读 · 0 评论 -
hdu 5916 Harmonic Value Description(思维)
Harmonic Value DescriptionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1481 Accepted Submission(s): 845Special JudgeProblem De原创 2018-01-30 21:59:54 · 355 阅读 · 0 评论 -
hdu 5914 Triangle (斐波那切数列)
TriangleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2113 Accepted Submission(s): 1205Problem DescriptionMr. Frog has n st原创 2018-01-30 21:47:36 · 384 阅读 · 0 评论 -
hdu 5517 Triple (二维树状数组)
TripleTime Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1127 Accepted Submission(s): 403Problem DescriptionGiven the finite multi-原创 2018-01-15 18:27:28 · 334 阅读 · 0 评论 -
HDU - 5972 Regular Number (bitset)
Regular NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1645 Accepted Submission(s): 446Problem DescriptionUsing regular ex原创 2018-01-14 11:07:58 · 269 阅读 · 0 评论 -
2017 多校训练第二场 HDU 6045 Is Derek lying?(思维)
Is Derek lying?Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2109 Accepted Submission(s): 1014Problem DescriptionDerek and原创 2017-12-13 19:14:08 · 321 阅读 · 0 评论 -
hdu 6563 贪心
StrengthTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 111 Accepted Submission(s): 95Problem DescriptionStrength gives you the confide...原创 2019-07-17 16:54:05 · 608 阅读 · 0 评论