摘要: $f(x) = \sum^{\infty}_{i=0} a_ix^{i} \ .$ 阅读全文
posted @ 2022-12-16 20:54 Lcyanstars 阅读(166) 评论(0) 推荐(0)
摘要: 你想的 txt 阅读全文
posted @ 2022-08-23 00:36 Lcyanstars 阅读(40) 评论(0) 推荐(0)
摘要: 学习兔爷学 dottle 写闲话! 阅读全文
posted @ 2022-08-18 03:08 Lcyanstars 阅读(556) 评论(0) 推荐(0)
摘要: 求 $\bigoplus^{2^n-1}_{s=0} (s \bigoplus^{n-1}_{i=0} a_i[s \& 2^i=1]) \bmod 2^{64}, n \leq 30, a_i \leq 2^{64}-1$ 阅读全文
posted @ 2022-07-18 13:07 Lcyanstars 阅读(59) 评论(0) 推荐(0)
摘要: 乱搞卡线省一 阅读全文
posted @ 2021-12-04 21:20 Lcyanstars 阅读(136) 评论(0) 推荐(0)
摘要: DP做法:转移的时候只要考虑最后有几个连续的铀盒或者是否已经满足条件。 递推做法, $f(n) = 2^{n-m} + \sum ^{n-m-1}_{i=0} 2^{n-i-m-1}(2^{i}-f(i))$ 阅读全文
posted @ 2021-10-01 22:24 Lcyanstars 阅读(73) 评论(0) 推荐(0)
摘要: 给定 $a,b$ ,求 $a+b,a \times b$ 。 但是你键盘上的 +-*/ 键坏了。也就是说,你的代码中不能含有 '+', '-', '*', '/' 。 阅读全文
posted @ 2021-08-12 21:02 Lcyanstars 阅读(62) 评论(0) 推荐(0)
摘要: isalpha害人不浅! 上个图,不说了,我以为isalpha返回1是大写字母,返回2是小写字母(好像只有devc++才这样? 说实话我本来想切完这题就去配置VSCode把devc++卸了的。。。 阅读全文
posted @ 2021-01-02 02:20 Lcyanstars 阅读(108) 评论(0) 推荐(0)
摘要: F题那么多人A说明要么是模板题要么是氵题,点进去一看——线段树模板,拿出我的模板把sum改成XOR就A了(没有任何思维难度,建议降300分。。) 赛后才是最震惊的,ACL库有线段树模板‽上一下C++最短code: #include<atcoder/all> #define int long long 阅读全文
posted @ 2020-12-13 23:30 Lcyanstars 阅读(411) 评论(0) 推荐(0)
摘要: Day-1好像就一天( 试机调了下devc++的theme,适应了下键盘(感觉numlock+0这东西反人类),打了个对拍,打完就发题了 T1T2做得非常慌乱,T1我的签到题(指a+b)呢?T2想了想发现STL都会T,立马跑去看T3,看完T3一片空白,回到T2写了个看上去很不像正解的桶排(但是不会T 阅读全文
posted @ 2020-11-07 18:00 Lcyanstars 阅读(136) 评论(1) 推荐(0)