/* 自定義代碼塊樣式 */
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
首頁
密碼學
程式設計Programming
APP
計算機概論
herrDeng網內搜尋
自訂搜尋
Ads
2024年8月9日 星期五
Python C++解魔方陣Leetcode 840 Magic Squares In Grid
Python C++解魔方陣Leetcode 840 Magic Squares In Grid.
影片一開始就是展示如何解一個3x3的魔方陣,5總是在中心
In the beginning of film is to show how to solve a 3x3 magic square, 5 is always in the center.
[codes on Leetcode]
https://leetcode.com/problems/magic-squares-in-grid/solutions/5609811/magic-square-has-5-in-middle-beats-100/
[Leetcode程式]
https://www.youtube.com/watch?v=dybiq3pg-Os&list=PLYRlUBnWnd5IdDHk2BjqXwesydU17z_xk
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
熱門文章
計算你上學期加權平均
計算你上學期加權平均
ex1
請用 C/C++/java寫一簡易程式
array
array ex 1, 2,3,7,8
計算你的BMI
計算你的BMI
作業4:複利計算
借錢500萬,年利18%,每月複利計算,請問連本帶利的金額 5, 10, 15, 20, 25, 30, 35, 40, 45, 50年的金額。並比較公式: A*exp(0.18n) A*(1+0.18/12)^(12*n), n=年數, A=本金 hint: math.h, p...
產生50個元素的陣列並排序
產生50個元素的陣列並排序
Fibonacci Sequence(1)
Fibonacci sequence: a[0]=1, a[1]=1, a[2]=2, a[3]=3, a[4]=5,...... In general, a[n]=1 as n=0,1, a[n]=a[n-1]+a[n-2] as n>=2. Use this...
Caesar挪移碼
Caesar挪移碼密文: MCLGZ 請破譯!
利用static方法輸出BMI
利用static方法輸出BMI
ex4
算上學期加權平均
沒有留言:
張貼留言