デジタルな話題
の続き
アキラ君の発言で知ったんだけどHaskellにはsumがあるから1行で書ける。
main = print $ sum [1..10]
楽すぎる…
Powered by: Copyright © あんどちん