/* 自定義代碼塊樣式 */
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
首頁
密碼學
程式設計Programming
APP
計算機概論
herrDeng網內搜尋
自訂搜尋
Ads
2024年10月14日 星期一
Python C++ heap priority queue速解L eetcode 2530 Maximal Score After Appl...
Python CPP heap priority queue速解L eetcode 2530. Maximal Score After Applying K Operations
heap/priority queue是重要的資料結構,無論是C++的std::priority_queue或是python的heapq都可以拿來練習這題用貪婪演算可解的問題
----------
Python解請進
按我讀文 »
較新的文章
較舊的文章
首頁
訂閱:
意見 (Atom)
熱門文章
計算你上學期加權平均
計算你上學期加權平均
用 while loop
用 while loop 算 s=3*3+4*4+....88*88
ex. SHA-256, SHA3-256, RIPEMD-160
請問"虛擬貨幣用的雜湊函數"的SHA-256, SHA3-256, RIPEMD-160的雜湊摘要值
輸出課表代碼矩陣
輸出課表代碼矩陣 Hint: 2-D array, double-for loop
簡易程式2(平方和)
請用C/C++ 程式計算 S=1*1+2*2+3*3+4*4+.....+20*20=?
ex1算平均
33, 45, 87, 99, 27 算平均
data structure 期中考乙
data structure 期中考乙
輸出字串20次
輸出字串20次
產生 亂數
產生10個0~99的亂數存在a[10] 中
請用格式化輸出排 9x9乘法表
請用格式化輸出排 9x9乘法表 hint: double-for, "%nd"