/* 自定義代碼塊樣式 */
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)
熱門文章
ex6 請簡易說明Bitmap, Sleep的使用方式
請簡易說明Bitmap, Sleep的使用方式 請參考 https://anwendeng.blogspot.com/2020/03/visual-studio-2019-cwindows-formbitmap.html https://anwendeng.blogsp...
計算你上學期加權平均
計算你上學期加權平均
malloc, free
malloc? free?
Ex1. The Imitation Game心得
金鑰總數159*10^18 億=10^8 兆=10^12 京=10^16 垓=10^20 秭=10^24 穣=10^28 溝=10^32 澗=10^36 正=10^40 載=10^44 極=10^48 恆河沙=10^52 阿僧祇=10^56 那由...
ex4.資料結構複習(程式部份)
需要練習的Java程式:
Ex1 加權平均
Ex1 加權平均
Ex1 連續複利
連續複利
寫一個double-for迴圈
寫一個double-for迴圈,輸入n,其時間計算複雜度為O(nlog n)。 提示: C副程式時間複雜度O(n*log^2(n))
用 while loop
用 while loop 算 s=3*3+4*4+....88*88
Ex1 撰寫C++程式與Dev C++設定