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

Home Category Archives About Link Github
2014-03-06
Code 備忘錄►Math

STEP5::Problem 0022 : 掉落的橘子

http://web2.ck.tp.edu.tw/~step5/probdisp.php?pid=0022
題目要我們找出最佳的位置上,在cost範圍內能加入幾個點,每加入一個點就會花費d,d是點和最佳位置的距離。

Read More

Share Comments
  • C++
  • Step5
2014-03-04
Code 備忘錄►Math

STEP5::Problem 0050 : Ch特別篇-4.數學問題

http://web2.ck.tp.edu.tw/~step5/probdisp.php?pid=0050
真的是水題….。

Read More

Share Comments
  • C++
  • Step5
2014-03-04
Code 備忘錄►Math

STEP5::Problem 0020 : 因為已鎖定你

http://web2.ck.tp.edu.tw/~step5/probdisp.php?pid=0020
這題算是數學題。給你圓上每個點之間的距離,任意4個點可以連成一個矩形,問你最多有幾個矩形。

Read More

Share Comments
  • C++
  • Step5
2014-03-03
Code 備忘錄►Graph

TOJ::48 / 二元搜尋樹

http://2014.sprout.csie.org/oj/pro/48/
一題經典題吧……

Read More

Share Comments
  • C++
  • DFS
  • TOJ
  • Tree
2014-03-03
Code 備忘錄►Data Structure

TOJ::25 / 一天遊戲只能一小時

http://2014.sprout.csie.org/oj/pro/25/
這題有點有趣。題目要排隊,但是不能直接用std::queue,會TLE。

Read More

Share Comments
  • C++
  • Link List
  • TOJ
2014-03-03
Code 備忘錄►Data Structure

TOJ::23 / 更不能輸給暴風雨

http://2014.sprout.csie.org/oj/pro/23/
一開始覺得很難,但其實是水題…..

Read More

Share Comments
  • C++
  • Stack
  • TOJ
2014-03-03
Code 備忘錄►Data Structure

TOJ::21 / 陸行鳥大賽車

http://2014.sprout.csie.org/oj/pro/21/
題目要求一個link list,記錄賽車的名次。

Read More

Share Comments
  • C++
  • Link List
  • TOJ
2014-02-27
Code 備忘錄►Data Structure

UVa::10954 - Add All

http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1895
簡單的題目。
加法,但是每加一次就會有個cost=目前總和,也就是要從現在最小的兩個數字開始一個一個加起來。

Read More

Share Comments
  • C++
  • Heap
  • UVa
2014-02-27
Code 備忘錄►Math

STEP5::Problem 0011 : Ch1-8.白之夢

http://web2.ck.tp.edu.tw/~step5/probdisp.php?pid=0011
機率吧…..要找最大值,但是只能走一次,所以要猜他是不是最大的。

Read More

Share Comments
  • C++
  • Step5
2014-02-27
Code 備忘錄►Data Structure

STEP5::Problem 0007 : Ch1-4.蘿莉的獎勵

http://web2.ck.tp.edu.tw/~step5/probdisp.php?pid=0007
水題~~
排序,從最大開始,-1-2-3……….直到等於0為止的前N項全部加起來輸出。
為了練習手co了heapㄏ…….

Read More

Share Comments
  • C++
  • Heap
  • Step5
« Prev1…1112131415…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