随笔分类 -  刷题指南

摘要:c++ 阅读全文 »
posted @ 2022-08-10 16:01 InsiApple 阅读(161) 评论(0) 推荐(0) 编辑
摘要:算法简单版子 阅读全文 »
posted @ 2022-07-14 17:42 InsiApple 阅读(26) 评论(0) 推荐(0) 编辑
摘要:定义 Binary Search Tree + Heap 用在红黑树、B+树,AVL,Splay等地方 保证在O(logn)内的查询 普通Treap方法类 插入数值 x。 删除数值 x(若有多个相同的数,应只删除一个)。 查询数值 x 的排名(若有多个相同的数,应输出最小的排名)。 查询排名为 x 阅读全文 »
posted @ 2022-06-01 00:29 InsiApple 阅读(28) 评论(0) 推荐(0) 编辑
摘要:cf 阅读全文 »
posted @ 2022-04-30 17:17 InsiApple 阅读(80) 评论(0) 推荐(0) 编辑
摘要:水一下,暴力出奇迹 阅读全文 »
posted @ 2022-04-09 16:09 InsiApple 阅读(201) 评论(0) 推荐(0) 编辑
摘要:刷题指南 阅读全文 »
posted @ 2022-04-04 18:49 InsiApple 阅读(25) 评论(0) 推荐(0) 编辑
摘要:lqb 阅读全文 »
posted @ 2022-03-13 20:54 InsiApple 阅读(108) 评论(0) 推荐(0) 编辑
摘要:使用场景 计算大数的约数个数和约数和 #例子 acwing97 需要用到公式 函数 个数 // ans = 1; for (int i=2;i<=a;i++) { int s=0; while(a%i==0) { s++; a/=i; } if(s) ans=ans*(s+1); } 求和 int 阅读全文 »
posted @ 2022-03-01 11:54 InsiApple 阅读(33) 评论(0) 推荐(0) 编辑
摘要:review 阅读全文 »
posted @ 2022-02-27 15:12 InsiApple 阅读(63) 评论(0) 推荐(0) 编辑
摘要:cf娱乐赛 阅读全文 »
posted @ 2021-12-30 16:39 InsiApple 阅读(26) 评论(0) 推荐(0) 编辑
摘要:cf娱乐赛 阅读全文 »
posted @ 2021-12-28 09:31 InsiApple 阅读(28) 评论(0) 推荐(0) 编辑
摘要:cf娱乐赛 阅读全文 »
posted @ 2021-12-21 15:10 InsiApple 阅读(23) 评论(0) 推荐(0) 编辑
摘要:cf娱乐赛 阅读全文 »
posted @ 2021-12-17 13:39 InsiApple 阅读(21) 评论(0) 推荐(0) 编辑
摘要:cf娱乐赛 阅读全文 »
posted @ 2021-12-15 14:35 InsiApple 阅读(72) 评论(0) 推荐(0) 编辑

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