原创 The Double HeLiX
The Double HeLiX Two finite, strictly increasing, integer sequences are given. Any common integer between the two
原创 數組的最大代價
數組的最大代價 數組A包含N個元素A1, A2......AN。數組B包含N個元素B1, B2......BN。並且數組A中的每一個元素Ai,都滿足1 <= Ai <= Bi。數組A的代價定義如下: (公式表示所有兩個
原创 AVL樹的種類
AVL樹的種類 平衡二叉樹(AVL樹),是指左右子樹高度差至多爲1的二叉樹,並且該樹的左右兩個子樹也均爲AVL樹。 現在問題來了,給定AVL樹的節點個數n,求有多少種形態的AVL樹恰好有n個節點。 Input一行,包含
原创 迴文串劃分
迴文串劃分 有一個字符串S,求S最少可以被劃分爲多少個迴文串。 例如:abbaabaa,有多種劃分方式。 a|bb|aabaa - 3 個迴文串 a|bb|a|aba|a - 5 個迴文串 a|b|b|a|a|b|a|a -
原创 遠程複製粘貼無效解決辦法
遠程複製粘貼無效 解決辦法 1.任務管理器 --> 進程 找到rdpclip.exe 然後全部結束掉 2.win+R 運行裏面運行下rdpclip.exe
原创 編輯距離
編輯距離 編輯距離,又稱Levenshtein距離(也叫做Edit Distance),是指兩個字串之間,由一個轉成另一個所需的最少編輯操作次數。許可的編輯操作包括將一個字符替換成另一個字符,插入一個字符,刪除一個字符。 例如將
原创 Aibohphobia
Aibohphobia BuggyD suffers from AIBOHPHOBIA - the fear of Palindromes. A palindrome is a string that reads the sa
原创 ZOJ - 3166 Lazy Tourist
ZOJ - 3166 Lazy Tourist Fat Murphy is really a lazy guy. When he goes out for sightseeing, only he cared about is to
原创 codeforces 792B - Counting-out Rhyme
codeforces 792B - Counting-out Rhyme n children are standing in a circle and playing the counting-out game. Children
原创 Buying Apples!
Buying Apples! Harish went to a supermarket to buy exactly ‘k’ kilograms apples for his ‘n’ friends. The supermark
原创 codeforces 792A - New Bus Route
codeforces 792A - New Bus Route There are n cities situated along the main road of Berland. Cities are represented by
原创 ZOJ - 3278 8G Island
ZOJ - 3278 8G Island 8g Island has N boys and M girls. Every person has a "charm value". When a boy with charm value
原创 oracle操作記錄
Oracle數據庫 varchar2字段中 中文佔2個字符 數據庫字段擴大 tables -> 右鍵所需表 -> edit -> columns 直接修改字段長度,擴大對原有數據無影響,縮小要看現有字段是否滿足,否則不能縮小 導出表結構
原创 Java練習
練習 Java 的3個推薦 學習是枯燥的,下面推薦3個既能練習 Java 又很有趣的資源。 [CodeAcademy][5]:難度循序漸進,支持多種編程語言。可作爲輔助工具,需要其他資源學習 Java 重要概念。https://www.
原创 IDEA安裝教程
1.官網下載 https://www.jetbrains.com/idea/download/#section=windows 第一個是專業版(功能多,要收費),後面的是社區版 註冊碼 ThisCrackLicenseId-{ "