原创 Codeforces 368B Sereja and Suffixes 線段樹按值建樹

傳送門:點擊打開鏈接 B. Sereja and Suffixes time limit per test 1 second memory limit per test 256 megabytes input standard input

原创 Codeforeces 501D 平衡樹求排名和第k大

傳送門:點擊打開鏈接 D. Misha and Permutations Summation time limit per test 2 seconds memory limit per test 256 megabytes input

原创 Codeforces 4C Registration system MAP和hash的簡單應用

傳送門:點擊打開鏈接 C. Registration system time limit per test 5 seconds memory limit per test 64 megabytes input standard input

原创 Codeforces 493C 枚舉加二分

傳送門:點擊打開鏈接 C. Vasya and Basketball time limit per test 2 seconds memory limit per test 256 megabytes input standard i

原创 Codeforces 339D Xenia and Bit Operations 線段樹單點修改

傳送門:http://codeforces.com/contest/339/problem/D D. Xenia and Bit Operations time limit per test 2 seconds memory limit

原创 Codeforces 489C 簡單構造

傳送門:  http://codeforces.com/contest/489/problem/C Given Length and Sum o

原创 Codeforces 295A Greg and Array 線段樹區間累加,單點詢問

傳送門:點擊打開鏈接 A. Greg and Array time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input o

原创 Codeforces 276C Little Girl and Maximum Sum 線段樹區間累加

傳送門:點擊打開鏈接 C. Little Girl and Maximum Sum time limit per test 2 seconds memory limit per test 256 megabytes input stand

原创 HDU3341 AC自動機上的狀壓DP

傳送門:點擊打開鏈接 Lost's revenge Time Limit: 15000/5000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Total Su

原创 Codeforces 7D Palindrome Degree 字符串hash DP

傳送門:點擊打開鏈接 D. Palindrome Degree time limit per test 1 second memory limit per test 256 megabytes input standard input o

原创 Codeforces 272C Dima and Staircase 線段樹區間覆蓋,最值查詢

傳送門:點擊打開鏈接 C. Dima and Staircase time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 ACdream 1116 擴展KMP 線段樹區間累加 Fib數列的矩陣加速

傳送門:點擊打開鏈接 Gao the string! Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others) SubmitStatis

原创 HDU5336 XYZ and Drops 暴力模擬

 XYZ and Drops Time Limit: 3000/1500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Problem Descriptio

原创 HDU 5335 Walk Out 狀壓DP亂搞

 Walk Out Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Problem Description In

原创 HDU 5324 Boring Class 樹狀數組套平衡樹

 Boring Class Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Problem Description