原创 CodeForces 13E Holes(分塊處理)
Holes time limit per test 1 second memory limit per test 64 megabytes input standard input output standa
原创 hdu1026 Ignatius and the Princess I(BFS+路徑記錄)
Ignatius and the Princess I Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tota
原创 poj2828 Buy Tickets (線段樹)
Buy Tickets Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 15862 Accepted: 7902 Description Railw
原创 POJ1276 Cash Machine(多重揹包~~)
Cash Machine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 29592 Accepted: 10632 Description A B
原创 hdu1027 Ignatius and the Princess II(全排列)
Ignatius and the Princess II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tota
原创 POJ3624 Charm Bracelet(01揹包~~簡單DP~~)
Charm Bracelet Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 27287 Accepted: 12283 Description B
原创 Windows下搭建C++開發環境:MinGW+CMake
安裝CMake 下載地址:官網,選擇自己系統對應的版本 命令行窗口輸入"cmake",若顯示如下,則安裝成功。 安裝MinGW 下載鏈接:這裏 默認安裝路徑是"C:\MinGW"。安裝完成後,打開MinGW Installati
原创 windows下使用CMake構建工程:cmake-gui+Visual Studio
文件結構 在工程目錄下構建目錄src,thirdparty,build。 src:存放自己寫的源代碼文件 thirdparty:存放使用的第三方庫 build:存放編譯時生成的文件(因爲很多很雜亂,所以單獨目錄存放,保持項目文件夾
原创 POJ1384 Piggy-Bank(完全揹包~~)
Piggy-Bank Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8840 Accepted: 4305 Description Before
原创 POJ2533 Longest Ordered Subsequence(最長遞增子序列)
Longest Ordered Subsequence Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 38934 Accepted: 17094 D
原创 poj2886 Who Gets the Most Candies?(反素數 + 線段樹)
Who Gets the Most Candies? Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 11784 Accepted: 3688 Case
原创 CodeForces 46D Parking Pot(線段樹區間更新)
Parking Lot time limit per test 2 seconds memory limit per test 256 megabytes input standard input output sta
原创 POJ1337 Balance(完全揹包~~)
A Lazy Worker Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 1131 Accepted: 384 Description There
原创 hdu1028 Ignatius and the Princess III(DP整數劃分)
Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tot
原创 CodeForces 115E Linear Kingdom Races(線段樹 + DP)
Linear Kingdom Races time limit per test 5 seconds memory limit per test 256 megabytes input standard input o