摘要: 本场ABC难度 from AtCoder Problems A - Takoyaki Time Limit: 2 sec / Memory Limit: 1024 MB Problem Statement Takahashi loves takoyaki - a ball-shaped snack. 阅读全文
posted @ 2020-08-23 23:18 Lcyanstars 阅读(291) 评论(1) 推荐(0)
摘要: 今天CF Round #660 div2快速做完了A和B,理解完C的题意后想了下用2次dfs就开始写了,还剩20分钟写完提交TLE了,想了一会发现可以1次dfs解决,还是TLE,便觉得自己思路错了,任由天命。 System Test完后把存图方式从链式前向星(静态邻接表)改成了vector重新提交, 阅读全文
posted @ 2020-07-31 02:17 Lcyanstars 阅读(165) 评论(1) 推荐(1)
摘要: Ugly numbers are numbers whose only prime factors are $2, 3$ $\mbox {or}$ $5$. The sequence $1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, \cdots$ shows the fir 阅读全文
posted @ 2020-07-29 23:50 Lcyanstars 阅读(228) 评论(1) 推荐(0)
摘要: Everyone is rated! 阅读全文
posted @ 2020-06-20 20:49 Lcyanstars 阅读(119) 评论(1) 推荐(0)