Welcome, Guest!
Sign Up
Login
RSS
Clever Space
Friday, 11.22.2024
Main
»
2013
»
December
»
11
» 【SCOI2011】棘手的操作
8:58 AM
【SCOI2011】棘手的操作
很棘手啊?!
开始想用可并的heap之类的,后来发现这个标记需要暴力维护
于是就不想(会)写了,
正解:一开始预处理出来每个联通快的区间,把在相同
联通快的放在一起,再用segtree模拟一遍,所以是离线的
Code:
SCOI2011_1
1
2
3
4
5
Views: 520 | Added by:
dhy0077
| Rating:
5.0
/
1
Total comments:
0
Only registered users can add comments.
[
Sign Up
|
Login
]
Site menu
Home page
Site info
Blog
Forum
Photo Albums
Chat Room
Voice Board
Our Stats
FAQ
Login form
Entries archive
2013 August
2013 September
2013 October
2013 November
2013 December
2014 January
2014 March
2014 April
2014 May
2014 June
2014 July
2014 August
2014 September
2014 November
Visitors
メタトレーダー
Calendar
«
December 2013
»
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31