随笔分类 -  规律题

ccpc 2018 final G - Pastoral Life in Stardew Valley
摘要:#include #include #include #include using namespace std; #define ll long long const int N =100009; const ll mod = 1000000007; ll c[N][10]; void init() { c[0][0] =1ll; for... 阅读全文

posted @ 2019-04-19 22:00 cltt 阅读(389) 评论(0) 推荐(0) 编辑

第九届蓝桥杯 螺旋曲线
摘要:标题:螺旋折线 如图p1.png所示的螺旋折线经过平面上所有整点恰好一次。 对于整点(X, Y),我们定义它到原点的距离dis(X, Y)是从原点到(X, Y)的螺旋折线段的长度。 例如dis(0, 1)=3, dis(-2, -1)=9 给出整点坐标(X, Y),你能计算出dis(X, Y)吗? 阅读全文

posted @ 2019-03-20 21:51 cltt 阅读(179) 评论(0) 推荐(0) 编辑

ACM训练联盟周赛 Teemo's formula
摘要:Teemo has a formula and he want to calculate it quickly. The formula is . As the result may be very large, please output the result mod 1000000007. In 阅读全文

posted @ 2018-08-21 20:48 cltt 阅读(154) 评论(0) 推荐(0) 编辑

ACM训练联盟周赛 G. Teemo's convex polygon
摘要:65536K Teemo is very interested in convex polygon. There is a convex n-sides polygon, and Teemo connect every two points as diagonal lines, and he wan 阅读全文

posted @ 2018-08-21 17:44 cltt 阅读(182) 评论(0) 推荐(0) 编辑

hdu 5459
摘要:Problem Description I've sent Fang Fang around 201314 text messages in almost 5 years. Why can't she make sense of what I mean?``But Jesus is here!" t 阅读全文

posted @ 2018-08-05 15:46 cltt 阅读(283) 评论(0) 推荐(0) 编辑

The 2018 ACM-ICPC China JiangSu Provincial Programming Contest J. Set
摘要:Let's consider some math problems. JSZKC has a set A=A={1,2,...,N}. He defines a subset of A as 'Meo set' if there doesn't exist two integers in this 阅读全文

posted @ 2018-07-31 21:10 cltt 阅读(157) 评论(0) 推荐(0) 编辑

SET
摘要:65536K Let's consider some math problems. JSZKC has a set A=\{1,2,...,N\}A={1,2,...,N}. He defines a subset of AA as 'Meo set' if there doesn't exist 阅读全文

posted @ 2018-07-24 23:47 cltt 阅读(258) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示