10810 - Ultra-QuickSort(歸並排序求逆序數)
Problem B: Ultra-QuickSort In this problem, you have to analyze a particular
LeetCode OJ:Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock Say you have an array for which the
Leetcode Flatten Binary Tree to Linked List
Flatten Binary Tree to Linked List Given a binary tree, flatten it to a
UVa11125Arrange Some Marbles
Problem H Arrange Some Marbles Input: Standard Input Output: Standard Output
LeetCode OJ:Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock II My Submissions Say you have an arr
UserControl自定義控件系列一:Label+TextBox組合控件
從今天開始在這邊分享本人對UserControl自定義控件的研究,主要針對多個控件組合為一個控件,展示控件顯示風格的與眾不同,
HDU 1405 The Last Practice 數學水題
題目大意: 給你一個數,讓你分解素因子,輸出它的各次冪。 如60 輸出:2 2 3 1 5 1 (60=2^2*3^1*5^1)  
LeetCode OJ:Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock III Say you have an array for which t
HDU 1474 HDU1580 UVA570 Always On the Run
題意都理解了半天,,做了好久,唉好困,半夜了 來不及寫解析了,先睡了,放一晚讓自己想清楚,明天寫,有一些城市,每一行都是第幾個城市到其它城市的航班,跟花費
URAL 1998 The old Padawan
題目只給了500ms,注意超時問題,一開始的幾發都超時了,後來想到了預處理,從後往前推即可,為了防止t的大小可能有問題,所以進行了排序,還有人用二分做的,