什麼是ECDSA?
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
herrDeng網內搜尋
自訂搜尋
Ads
3009年5月25日 星期四
2025年11月25日 星期二
Py3 C++找出pattern迭代變化解出Leetcode 1015 Smallest Integer Divisible by K
所謂的數論問題,也不一定是是像費馬定理那樣的大問題,能找出數字間的pattern也都是值得玩味的
執行直到 r=(10*r+1)%k==0(其中 k 與 2 和 5 互質),否則返回 -1
[Py3 code請進]
2025年11月21日 星期五
2025年11月16日 星期日
C++用 -1 mask法達到branchless解Leetcode1513 Number of Substrings With Only 1...
C++用 -1 mask法達到branchless解Leetcode1513 Number of Substrings With Only 1s|Py3 1-liner
其實很容易,想練功,試試一行解,或是把if分岔拿掉
[C++無分岔解請進]
2025年11月14日 星期五
Py3 C++ 2D sweep解Leetcode 2536 Increment Submatrices by One
Py3 C++ 2D sweep解Leetcode 2536 Increment Submatrices by One
使用2D掃描,方法為line sweep的2D推廣,方便好用。
[Py3解請進]
2025年11月9日 星期日
C++ Py3 Euclidean Algorithm解Leetcode 2169 Count Operations to Obtain Zero
C++ Py3 Euclidean Algorithm解Leetcode 2169 Count Operations to Obtain Zero
[Py3一行解請進]
2025年11月8日 星期六
Py3 C++導出遞迴公式解難題Leetcode1611 Minimum One Bit Operations to Make Integer...
Py3 C++導出遞迴公式解難題Leetcode1611 Minimum One Bit Operations to Make Integers Zero從導出公式到寫出code,一次完成解Leetcode難題
[C++一行解請進]
2025年10月30日 星期四
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一行解請進]
2025年10月26日 星期日
python requests讀取台積電股票json資訊爬蟲練習
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
2025年10月21日 星期二
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解請進]
訂閱:
意見 (Atom)
熱門文章
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
C++ py3 C Rust adjacent difference與loop速解Leetcode 1526 Minimum Number of Increments on Subarrays to Form a Target Array [Py3一行解請進]
-
Py3 C++導出遞迴公式解難題Leetcode1611 Minimum One Bit Operations to Make Integers Zero從導出公式到寫出code,一次完成解Leetcode難題 [C++一行解請進]
-
int a[]={21, 23, 57, 13 ,17, 6}; float average; average=?
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
C++ Py3 Euclidean Algorithm解Leetcode 2169 Count Operations to Obtain Zero [Py3一行解請進]
-
py3 cpp Line sweep解Leetcode 3346 Maximum Frequency of an Element After Performing Operations I 使用 line sweep不用排序,可得線性解 [Py3解請進]
-
Py3 C++ 2D sweep解Leetcode 2536 Increment Submatrices by One 使用2D掃描,方法為line sweep的2D推廣,方便好用。 [Py3解請進]