/* 自定義代碼塊樣式 */
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
首頁
密碼學
程式設計Programming
APP
計算機概論
herrDeng網內搜尋
自訂搜尋
Ads
2025年10月4日 星期六
Py3 C++ C 2pointer速解Leetcode 11Container With Most Water
Py3 C++ C 2pointer速解Leetcode 11Container With Most Water
[Py3 code請進]
按我讀文 »
2025年9月30日 星期二
C++ Pascal三角與模10算術解Leetcode 2221 Find Triangular Sum of an Array(含Py3 Code)
C++ Pascal三角與模10算術解Leetcode 2221 Find Triangular Sum of an Array
如果採用有支援非常長int的程式語言,mod 10算術就整個省略,就用Pascal三角的性質,可得快速解
按我讀文 »
2025年9月29日 星期一
Py3 C++ dp動態規劃解Leetcode 1039 Minimum Score Triangulation of Polygon
Py3 C++ dp動態規劃解Leetcode 1039 Minimum Score Triangulation of Polygon
Py3 C++ dp動態規劃解Leetcode 1039 Minimum Score Triangulation of Polygon
凸多邊形三角化的問題,題目看起來很幾何,解法用動態規劃,多邊形的切割其實也是divide and conquer.
[py3解請進]
按我讀文 »
較新的文章
較舊的文章
首頁
訂閱:
意見 (Atom)
熱門文章
python requests讀取台積電股票json資訊爬蟲練習
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
Ex1 連續複利
連續複利
Ex10. 請用Random產生20個0~99的奇數(可重複),然後排序
請用Random產生20個0~99的奇數(可重複),然後排序
py3 C++ Line sweep解Leetcode 3346 Maximum Frequency of an Element After ...
py3 cpp Line sweep解Leetcode 3346 Maximum Frequency of an Element After Performing Operations I 使用 line sweep不用排序,可得線性解 [Py3解請進]
CMD模式下執行C程式
CMD模式下執行C程式
RSA習題
RSA中, p = 11, q = 13, e = 11 計算n, phi(n), 若明文m = 7, d =11?密文c =?
ex1 2018 IEEE Spectrum發布程式語言排名前10大
Ex6 輸入公元n年,輸出"平年" "閏年"
輸入公元n年,輸出"平年" "閏年"
C++ py3 C Rust速解Leetcode 1526 Minimum Number of Increments on Subarrays ...
C++ py3 C Rust adjacent difference與loop速解Leetcode 1526 Minimum Number of Increments on Subarrays to Form a Target Array [Py3一行解請進]
C程式練習
int a[]={21, 23, 57, 13 ,17, 6}; float average; average=?