Knowledge Remind
If I have seen further, it is by standing on the shoulders of giants.
顯示具有
Logic
標籤的文章。
顯示所有文章
顯示具有
Logic
標籤的文章。
顯示所有文章
2012年7月30日 星期一
判斷n!的字尾會有幾個0
n階的結果會產生0,
主要取決於有乘過幾個5
所以基本上判斷階層中,5出現幾次即尾數幾個0
2012年7月29日 星期日
檢查是否閏年
規則為
年只要為4的倍數,但不能是100的倍數,可是逢400也是閏
判斷式不難,如下
Read more »
較舊的文章
首頁
訂閱:
文章 (Atom)