摘要: 树上前缀和 阅读全文 »
posted @ 2023-08-12 21:10 ljfyyds 阅读(13) 评论(0) 推荐(0) 编辑
摘要: # [Codeforces Round 881 (Div. 3)](https://codeforces.com/contest/1857) ## [A.Array Coloring](https://www.luogu.com.cn/problem/CF1857A) ### 题目大意 [link] 阅读全文 »
posted @ 2023-08-08 20:24 ljfyyds 阅读(29) 评论(0) 推荐(0) 编辑
摘要: ## [A.Tales of a Sort](https://codeforces.com/contest/1856/problem/A) ### 题目大意 Alphen has an array of positive integers a of length n. Alphen can pe 阅读全文 »
posted @ 2023-08-07 16:50 ljfyyds 阅读(34) 评论(0) 推荐(1) 编辑
摘要: # [Codeforces Round 882 (Div. 2)](https://codeforces.com/contest/1847) ## [A.The Man who became a God](https://www.luogu.com.cn/problem/CF1847A) ### 题 阅读全文 »
posted @ 2023-08-04 15:01 ljfyyds 阅读(35) 评论(0) 推荐(0) 编辑
摘要: ## T3 strong password 1. 就是对于输入的每一个 l,r ,我们遍历 s[l] s[r],对于每次遍历,我们设置一个临时指针 cur ,然后通过指针右移寻找所需要的值 2. 在外面我们弄两个指针,分别代表每次遍历 [l,r] 的区间的指针 nmx 和全局指针 阅读全文 »
posted @ 2023-08-03 20:02 ljfyyds 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 887 (Div. 2) 阅读全文 »
posted @ 2023-08-01 21:03 ljfyyds 阅读(34) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 885 (Div. 2) 阅读全文 »
posted @ 2023-08-01 20:55 ljfyyds 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Educational Codeforces Round 152 (Rated for Div. 2) 阅读全文 »
posted @ 2023-07-29 20:05 ljfyyds 阅读(69) 评论(0) 推荐(0) 编辑
摘要: ## T1 人生在世就要不断做出选择。一般来说,选择牵涉着不止一个方面的利益,在不同的利益方面,一个选项的影响也可以或正或负。比如,选择参加本次夏令营,你将付出一定的金钱和时间,同时以算法能力的提升作为回报。为了做出最优化的选择,人们投入了大量资源研究并应用各种运筹学(Operations Rese 阅读全文 »
posted @ 2023-07-10 13:34 ljfyyds 阅读(67) 评论(0) 推荐(0) 编辑
摘要: NIIM 阅读全文 »
posted @ 2023-07-07 17:19 ljfyyds 阅读(100) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示