自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(44)
  • 收藏
  • 关注

原创 2024 ICPC ShaanXi Provincial Contest —— C. Seats(个人理解)拓扑+dfs

2024 ICPC ShaanXi Provincial Contest —— C. Seats(个人理解)拓扑+dfs

2024-09-18 12:18:08 463

原创 2024年CCPC网络赛 D题个人理解

2024年CCPC网络赛,D题个人理解

2024-09-12 19:30:27 400 2

原创 P3275 [SCOI2011] 糖果(差分约束 + tarjan + 缩点 + 拓扑排序 + dp)

差分约束 + tarjan + 缩点 + 拓扑排序 + dp

2024-09-10 22:37:12 1075

原创 P4513 小白逛公园(线段树 + 连续区间和最值)

洛谷 P4513 小白逛公园(线段树 + 连续区间和最值)

2024-08-12 15:18:07 917

原创 洛谷 P3916 图的遍历(tarjan + 缩点 + dfs)

P3916 图的遍历(tarjan + 缩点 + dfs)

2024-08-05 14:52:35 880 1

原创 johnson最短路模板(未完成,自用)

Johnson最短路,spfa队列优化+dijkstra

2024-03-24 23:28:54 197

原创 解决思维题的一些自我总结

简单思维题总结

2023-12-07 22:09:28 519

原创 codeforces 题目 Line Empire

思维,前缀和,规划

2023-12-07 16:10:21 2148

原创 codeforces 题目 Powers Of Two

思维,二进制

2023-12-06 13:00:29 439

原创 codeforces 题目 Fadi and LCM

思维,gcd,lcm

2023-12-06 13:00:02 645

原创 关于set的函数与迭代器的各种操作和理解(持续更新)

关于set的函数与迭代器的各种操作和理解

2023-12-05 16:45:22 3220

原创 codeforces 题目 Chtholly‘s request

思维,回文数,to_string与atoi(atoll)

2023-12-05 14:56:51 430

原创 codeforces 题目 Wrath

思维,贪心

2023-12-05 14:10:30 404

原创 codeforces 题目 Kirk and a Binary String (hard version)

思维,构造,01字符串

2023-11-11 22:27:51 105

原创 codeforces 题目 Binary String

思维,双指针,推导

2023-11-08 23:43:41 515

原创 最大子树和

最大子树和,模板

2023-11-08 16:06:38 74

原创 codeforces 题目 Lucky Chains

思维,gcd,欧拉筛

2023-11-07 23:18:15 108

原创 牛客 题目 栗酱的异或和

博弈论,nim游戏,异或和

2023-11-06 16:22:04 80

原创 codefoeces 题目 Find The Array

思维

2023-11-03 00:28:50 82

原创 codeforces 题目 Flip the Bits

思维,字符串

2023-11-02 23:36:31 82

原创 codeforces 题目 M-arrays

思维

2023-11-02 21:56:55 92

原创 codeforces 题目 And

思维,位运算

2023-11-01 18:45:56 76

原创 codeforces 题目 Hamon Odyssey

思维,位运算

2023-11-01 17:14:50 188

原创 codeforces 题目 Permutation

思维,数学公式

2023-10-30 13:13:33 97

原创 codeforces 题目 Two Arrays

思维

2023-10-29 16:00:47 83 1

原创 codeforces 题目 Rock and Lever

思维,位运算,二进制

2023-10-29 15:29:48 88 1

原创 codeforces 题目 awoo‘s Favorite Problem

思维,STL

2023-10-29 14:53:01 91 1

原创 codeforces 题目 Binary Inversions

思维,前缀和

2023-10-28 11:43:35 114 1

原创 codeforces 题目 Different Differences

思维

2023-10-27 22:56:34 95 1

原创 codeforces 题目 Make it Increasing

思维,递增,除法

2023-10-26 23:10:34 63

原创 codeforces 题目 Consecutive Points Segment

思维

2023-10-25 21:18:34 80 1

原创 codeforces 题目 Build Permutation

思维,完全平方数,数组

2023-10-24 18:06:32 76

原创 codeforces 题目 Complementary XOR

思维,01字符串

2023-10-24 16:52:09 71

原创 codeforces 题目 C. Increasing Matrix

贪心,模拟

2023-10-21 22:32:27 49 1

原创 codeforces 题目 Best Binary String

思维,贪心,字符串

2023-10-21 17:10:44 270 1

原创 codeforces 题目 Permutations & Primes

思维,质数,全排列

2023-10-21 15:01:03 131 1

原创 codeforces 题目 Tiles Comeback

思维

2023-10-21 11:27:38 121 4

原创 codeforces 题目 Great Sequence

给你两个整数 n , x 再给你一个长度为 n 数组 a ,问最少增加多少个数字才能让数组中的数字可以两两配对且其中一个是另一个的x倍。都踢出去,同时 cnt -= 2 (即这两个不需要配对的意思)所以用STL的map来存储数据非常适配这道题。思路已经有了,具体操作请看下面AC代码。踢出去,然后cnt不动(因为。出现在了后面,我们就把。没有出现在后边,我们就把。

2023-10-18 22:32:21 93 1

原创 codeforces 题目 Playing in a Casino

排序、前缀和

2023-10-18 22:10:02 109 1

原创 codeforces 题目 Make It Round

对于每个案例,给你一对 n,m ,从1 ~ m中找一个数,我们不妨设为 x。让 x 与 n 相乘。让乘积拥有更多的 0 的情况下更大。对于输出:①如果找到了合适的 x ,让 n * x 过后比 n 原本尾部的 0 更多了,就输出这个乘积②如果找不到合适的 x 能让乘积过后尾部的 0 增多就输出 n * m。

2023-10-18 18:37:42 95 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除