原创 ZOJ 1406 Jungle Roads
Jungle Roads 題目傳送門~ Time Limit: 2000 msMemory Limit: 65 536 KB The Head Elder of the tropical island of Lagrishan has
原创 ZOJ 1217 Eight(單向BFS+map)
Eight 題目傳送門~ Time Limit: 10000 msMemory Limit: 32768 KB Scenario The 15-puzzle has been around for over 100 years; even
原创 ZOJ 2451 Minimizing maximizer(點線段樹維護查詢+dp思想)
Minimizing maximizer 題目傳送門~ Time Limit: 5000 msMemory Limit: 32768 KB The company Chris Ltd. is preparing a new sorting
原创 ZOJ 1805 Squadtrees(四分樹難題)
Squadtrees 題目傳送門~ Time Limit: 5000 msMemory Limit: 32768 KB Quadtrees are data structures used to store digital images.
原创 ZOJ 1610 Count the Colors(線段樹經典)
Count the Colors Time Limit: 2000 msMemory Limit: 65536 KB Painting some colored segments on a line, some previously pa
原创 ZOJ 1788 Quad Trees (四分樹經典)
Quad Trees 題目傳送門~ Time Limit: 2000 msMemory Limit: 65536 KB A binary image, such as the one shown in Figure 2(a), is us
原创 ZOJ 2833 Friendship(並查集)
Friendship Time Limit: 3000 msMemory Limit: 32768 KB A friend is like a flower, a rose to be exact, Or maybe like
原创 ZOJ 1091 Knight Moves(BFS)
Knight Moves Time Limit: 2000 msMemory Limit: 65536 KB A friend of you is doing research on the Traveling Knight Proble
原创 POJ 2503 Babelfish(map)
Babelfish 題目傳送門~ Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 56564 Accepted: 23224 Description You h
原创 ZOJ 1789 The Suspects(經典並查集)
The Suspects 題目傳送門~ Time Limit: 2000 msMemory Limit: 65536 KB Severe acute respiratory syndrome (SARS), an atypical pne
原创 數字黑洞的驗證
#include<iostream> using namespace std; int max_min(int x) { int a[5]; a[0]=x%10;x/=10; a[1]=x%10;x/=10; a[2]=x%1
原创 一隻小蜜蜂
一隻小蜜蜂... Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 10586
原创 分離整數的各個數
1088:分離整數的各個數 時間限制: 1000 ms 內存限制: 65536 KB 提交數: 7658 通過數: 5651 【題目描述】 給定一個整數n(1≤n≤100000000