摘要: K-special Tables CodeForces - 625C 人们经常做一些疯狂的事来凸显自己。有的人跳舞,有的人撩妹,有的人立志成为顶级程序猿(例如某peng),还有的人喜欢收集有趣的数学对象 Alice对上面的东西都很喜欢。现在她想要得到一张k-特殊表。一个大小为n*n的特殊表需要满足一 阅读全文
posted @ 2019-03-28 20:55 yccdu 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Tetrahedron CodeForces - 166E You are given a tetrahedron. Let's mark its vertices with letters A, B, C and Dcorrespondingly. An ant is standing in th 阅读全文
posted @ 2019-03-28 20:40 yccdu 阅读(330) 评论(0) 推荐(0) 编辑
摘要: The Fibonacci Segment CodeForces - 365B You have array a1, a2, ..., an. Segment [l, r] (1 ≤ l ≤ r ≤ n) is good if ai = ai - 1 + ai - 2, for all i (l + 阅读全文
posted @ 2019-03-28 20:27 yccdu 阅读(190) 评论(0) 推荐(0) 编辑