Page 11 - Showing 8 of 95 posts
View all posts by years →
- 一些筛法的题
自然溢出不会影响低位数据,所以有的时候你不需要取模,而是一个unsigned.
9 min 中文 - [HDU 6704] Kth Occurrence
You are given a string S consisting of only lowercase english letters and some queries.
5 min 中文 - 记一个bug (HDU 6703)
You are given an array a1,a2,...,an(∀i∈[1,n],1≤ai≤n). Initially, each element of the array is unique.
4 min 中文 - OJ的后端
这篇文章主要用于记录在探索评测系统Reef期间我所学的东西,以便之后查阅.
9 min 中文 - [FZU 2204]Seven
n个有标号的球围成一个圈。每个球有两种颜色可以选择黑或白染色。问有多少种方案使得没有出现连续白球7个或连续黑球7个。
2 min 中文 - [HDU6638] Snowy Smile3 min 中文
- 莫队算法
对于可以离线的区间询问问题,莫队算法提出了一种可以在(无修改),(带修改)内得出答案的方法。
22 min 中文 - Fansblog
Farmer John keeps a website called ‘FansBlog’ .Everyday , there are many people visited this blog.One day, he find the visits has reached P , which is...
3 min 中文