Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 아시아나
- acmicpc
- 이베이트코리아
- 알고리즘
- round 424
- 이베이트미국
- algebra
- 구간쿼리
- 백준
- k번째 수
- 대한항공
- Ebate USA
- Algorithm
- Codeforces
- Ebate Korea
- indexed tree
- subgroup
- persistent indexed tree
- 대수학
- gallian
- self balancing binary search tree
- 이베이트
- 7469
- 마일리지
- BOJ
- Algebraic Geometry
- persistent segment tree
- ccw
- finite group
- round 420
Archives
- Today
- Total
목록round 404 (1)
[Round#404 Div.2] D. Anton and School - 2
http://codeforces.com/contest/785/problem/D 괄호문자열이 주어지면 문자열에 있는 괄호들을 임의로 선택하여 만들 수 있는 RSBS(regular simple bracket sequences)의 개수를 찾아 그 개수를 1e9+7로 나눈 나머지를 출력하는 문제이다. RSBS란 It is not empty (that is n ≠ 0).The length of the sequence is even.First charactes of the sequence are equal to "(".Last charactes of the sequence are equal to ")". 인데 간단히 말해 앞쪽은 n/2개의 '(' 뒤쪽은 n/2개의 ')'로 이루어진 괄호를 말한다. 즉 (())나 (..
Algorithm/CodeForces
2017. 3. 16. 23:13