原创 AtCoder Beginner Contest 071 D - Coloring Dominoes

D - Coloring Dominoes Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement We have a bo

原创 UVa-11400 Lighting System Design

uva 11400 Lighting System Design 問題描述 You are given the task to design a lighting system for a huge conference hal

原创 UVA - 437 The Tower of Babylon (動態規劃)

The Tower of Babylon     Perhaps you have heard of the legend of the Tower of Babylon. Nowadays many details of t

原创 UVA - 1616 Caravan Robbers (二分搜索)

Caravan Robbers 題目描述: Long long ago in a far far away land there were two great cities and The Great Caravan Ro

原创 HDU 1372 騎士巡迴問題

Problem Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the s

原创 SourceTree代碼倉庫切換gitlab賬戶

SourceTree代碼倉庫切換gitlab賬戶 新公司的代碼管理工具用的是SourceTree,由於對軟件的不熟悉之前還不小心把同事一整天的代碼覆蓋了。這裏記錄一下這兩天遇到的一個問題,之前我上傳代碼用的是同事的gitlab賬

原创 HDU - 6386 Age of Moyu (搜索)

Mr.Quin love fishes so much and Mr.Quin’s city has a nautical system,consisiting of NN ports and MM shipping lines. The

原创 最小花費問題 (最短路徑算法)

最小花費 題目描述     在n個人中,某些人的銀行賬號之間可以互相轉賬。這些人之間轉賬的手續費各不相同。給定這些人之間轉賬時需要從轉賬金額里扣除百分之幾的手續費,請問A最少需要多少錢使得轉賬後B收到100元。 輸入