標籤:1、下載boost開發庫源碼。2、使用vs2008的命令列工具,進入到源碼目錄xxx/boost_1_58_0,命令列中運行bootstrap.bat,組建檔案b2.exe,在命令列中執行b2.exe。3、等待boost庫編譯串連完成,提示如下:The Boost C++ Libraries were successfully built!The following directory should be added to compiler include
標籤:Connections in Galaxy WarTime Limit: 3 Seconds Memory Limit: 32768 KBIn order to strengthen the defense ability, many stars in galaxy allied together and built many bidirectional tunnels to exchange
標籤:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int
標籤:poj 排序 連結:http://poj.org/problem?id=1007DNA SortingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 89319 Accepted: 35892DescriptionOne measure of ``unsortedness‘‘ in a sequence is the number of pairs of
標籤:Light BulbTime Limit: 1 Second Memory Limit: 32768 KBCompared to wildleopard‘s wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb in his house. Every
標籤:再次熟悉java當中的comparator的寫法Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.Note: The result may be very large, so you
標籤:Labeling BallsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12273 Accepted: 3516DescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with