/* 自定義代碼塊樣式 */
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
首頁
密碼學
程式設計Programming
APP
計算機概論
herrDeng網內搜尋
自訂搜尋
Ads
2025年2月19日 星期三
C++py3排列組合與binary表達解Leetcode 1415 The k th Lexicographical String of Al...
C++py3排列組合與binary表達解Leetcode 1415 The k th Lexicographical String of All Happy Strings of Length n
總共有3*2^(n-1)個happy strings要求第k個。先算(k-1)除以2^(n-1)的商q與餘數r,s[0]由q決定,s[1:n]由r決定,化r為二進位,然後簡單處理一下就得解
[Py3解請進]
按我讀文 »
2025年2月18日 星期二
C++ Py3 reverse 2pointer解Leetcode 2375 Construct Smallest Number From D...
C++ Py3 reverse 2pointer解Leetcode 2375 Construct Smallest Number From DI String
[codes on Leetcode]
https://leetcode.com/problems/construct-smallest-number-from-di-string/solutions/6435240/suffix-sum-for-successive-ds-c-py3-beats-100/
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)
熱門文章
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 那由...
傳輸模式
ECB CBC CFB OFB
何謂public-key密碼系統?....
何謂public-key密碼系統? 何謂secret-key密碼系統? 各列舉五種!
ex10 使用Blocky技術寫C程式並於linux GCC環境下編譯成組合語言
程式碼中至少要有分支如if, for, while等,需有 C code Assembly Code
Read certificate
1. 什麼是certificate? 2. fopen, fclose, rewind, ftell, fseek?
作業 3
請輸出如下 * ** *** **** ***** ******
[置頂]ECDSA
什麼是ECDSA?
請陳述對Bitcoin的看法
你會用C的算子sizeof?
你會用C的算子sizeof?
請破譯Caesar shift cipher
xgbzft