編寫程式不是種能力,而是一種生活方式。

Home Category Archives About Link Github
2015-03-14
Code 備忘錄►Search

Algorithm::模擬退火

模擬退火算是一種搜尋的算法,可以用來解決一些例如座標的搜尋問題。

Read More

Share Comments
  • Algorithm
  • C++
  • 模擬退火
2015-03-05
Code 備忘錄►DP

TIOJ::1119 . 複雜之河內塔問題

http://tioj.ck.tp.edu.tw/problems/1119

河內塔進階題,會有大小一樣的木塊出現,複雜度O(n)。

Read More

Share Comments
  • C++
  • TIOJ
2015-02-28
Code 備忘錄►DP

TIOJ::1676 . 烏龜疊疊樂

http://tioj.ck.tp.edu.tw/problems/1676
這題整整寫了快幾個月了啊….,從第一次看到到寫出來大概一年多了吧…..。
明明是簡單版(或說特殊版)的DP單調對列斜率優化的說。

Read More

Share Comments
  • C++
  • Deque
  • TIOJ
  • 斜率優化
2015-02-27
Code 備忘錄►Graph

TIOJ::1684 . 圓桌武士 Knights of the Round Table

http://tioj.ck.tp.edu.tw/problems/1684

有趣的圖論題,感覺很複雜,結果難得傳一次就AC~~。
跟點雙連通有關。

Read More

Share Comments
  • BCC
  • C++
  • POJ
  • TIOJ
  • Tarjan
2015-02-11
Code 備忘錄►Data Structure

UVa::1479 - Graph and Queries(Treap)

http://uva.onlinejudge.org/external/14/1479.html
Treap經典題。第K大的值,修改值,合併Treap。

Read More

Share Comments
  • C++
  • Treep
  • UVa
2015-02-08
Code 備忘錄►DP

HOJ::Problem : 79 - 滅人器

http://hoj.twbbs.org/judge/problem/view/79

需要一些小證明。

Read More

Share Comments
  • C++
  • HOJ
  • Tree
2014-12-15
Code 備忘錄►Else

TIOJ::1186 . 好多星星 ver1.1

http://tioj.infor.org/problems/1186

有趣的小題目。

話說TIOJ網頁因為Markdown的關係,會把”輸出”的空白吃掉……。

Read More

Share Comments
  • C++
  • TIOJ
2014-12-15
Code 備忘錄►Data Structure

TIOJ::1603 . 胖胖殺蚯事件

http://tioj.infor.org/problems/1603

一題RMQ,因為不用更新,所以就拿來練習Sparse Table。

Read More

Share Comments
  • C++
  • RMQ
  • Sparse Table
  • TIOJ
2014-12-15
Code 備忘錄►Math

TIOJ::1241 . 倍因道 Factor and Points

http://tioj.infor.org/problems/1241

這題有點利用質數篩法的概念。

Read More

Share Comments
  • C++
  • TIOJ
2014-12-15
Code 備忘錄►Data Structure

TIOJ::1312 . 家族

http://tioj.infor.org/problems/1312

基礎的 Disjoint sets。

Read More

Share Comments
  • C++
  • Disjoin Set
  • TIOJ
« Prev1…45678…17Next »

Categories

  • Code 備忘錄136
    • DP22
    • Data Structure25
    • Divide & Conquer5
    • Else13
    • Graph27
    • Greedy4
    • Math27
    • Search9
    • String3
    • 計算幾何1
  • Diary8
  • Note21

Tag Cloud

2-SAT 2016寒假 Algorithm AlphaGo Animate Archlinux BCC BFS BIT Binary Index Tree Binary Search C++ DAG DFS DP回溯 Deque Disjoin Set Driver GAE GNU-PBDS Gnome-Shell HOJ HTML&CSS HTTP Hash Heap IOI IOICamp KM LCA LCS LIS Link List Linux MST Monte Carlo NPSC New Blog POI POJ Plymouth Python RMQ SCC STL Shortest Path Sort Sparse Table Stack Step5 Stpe5 TIOJ TOI TOJ Tarjan Tree Treep Trie UVa Ubuntu Windows YAML ZJOI 二分圖 凸包 北市賽 學測 拓撲排序 持久化 指考 掃描線 斜率優化 新年快樂 旋轉卡尺 模擬退火 線段樹 背包問題 輸入優化 韓國釜山

Recents

  • 不同的 Linux Distribution 到底差在哪裡?
  • 越來越不知道以後要做什麼...
  • ArchLinux 和 Gnome Shell 3 桌面環境安裝筆記
  • Algorithm::Suffix Array 後綴數組
  • IOICamp::導遊讚哥讚!
  • 上大學整天在耍廢...
  • TIOJ::1841-好.傳囉! Nice Boat!
  • C++11 的 Random library, 你還在用rand()嗎?
  • TIOJ::1821.基本語(NPSC 古可魚語)
  • 終於上大學了~~~
© 2019 CHUNG-SHENG WU
Powered by Hexo
Home Category Archives About Link