原创 平衡樹之splay講解

鏈接:http://www.cnblogs.com/BLADEVIL/p/3464458.html BLADEVIL His judgement cometh and that right soon. 平衡樹之splay講解   

原创 spoj ADAFRIEN - Ada and Friends(水題)

ADAFRIEN - Ada and Friends #sorting #datastructures   Ada the Ladybug has many friends. They always celebrate something

原创 spoj ADACOINS - Ada and Coins(樹狀數組+bitset優化)

ADACOINS - Ada and Coins #dynamic-programming #datastructures   Ada the Ladybug has several coins in her wallet. She is

原创 spoj ADAAPPLE - Ada and Apple(樹鏈刨分+線段樹)

ADAAPPLE - Ada and Apple #tree #datastructures   Ada the Ladybug is currently on a trip on apple tree. There are many a

原创 spoj MKTHNUM - K-th Number(動態查詢區間第k小)

Description You are working for Macrohard company in data structures department. After failing your pr

原创 spoj QTREE - Query on a tree(樹鏈刨分)

You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We will

原创 spoj ADACROP - Ada and Harvest(分塊+離散化)

ADACROP - Ada and Harvest #datastructures   As you might already know, Ada the Ladybug is a farmer. She has a very long

原创 spoj ADAFENCE - Ada and Fence(水題)

ADAFENCE - Ada and Fence #datastructures #pointers   Ada the Ladybug owns a circular land. She wants to enclose it with

原创 hihoCoder挑戰賽23Emulator(floyd算法)

題目1 : Emulator 時間限制:5000ms 單點時限:1000ms 內存限制:256MB 描述 有一個n個點的無向正權圖G,這個圖是連通的,小Y知道這些點兩兩之間的最短路的長度。 小J想要構造一個新的無向正權圖G