{"description":"Problem 1\u5305\u9664\u539f\u7406\u3092\u4f7f\u3046\u306e\u306f\u3084\u3081\u3066\u3001\u672c\u6765\u306e\u66f8\u304d\u65b9\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u30eb\u30fc\u30d7\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002 while $n = 1000 $s = 0 $k = 1 while($k -lt $n) { if($k % 3 -eq 0 -or $k % 5 -eq 0) { $s += $k } $k += 1 } $s while\u306fC\u3068\u3060\u3044\u305f\u3044\u540c\u3058\u3067\u3059\u3002\u305f\u3060\u3001\u6bd4\u8f03\u6f14\u7b97\u5b50\u304c\u9055\u3044\u307e\u3059\u3002>\u304c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u4f7f\u308f\u308c\u3066\u3044\u305f\u308a\u3059\u308b\u304b\u3089\u3067\u3059\u306d\u3002\u8a73\u3057\u304f\u306f\u3001about_comparison_operators for $n = 1000 $s = 0 for($k = 1; $k -lt $n; ++$k) { if($\u2026","author_url":"https://blog.hatena.ne.jp/inamori/","blog_title":"inamori\u2019s diary","title":"Windows PowerShell\u3067Project Euler\uff084\uff09 \u30eb\u30fc\u30d7","url":"https://inamori.hateblo.jp/entry/20120615/p2","blog_url":"https://inamori.hateblo.jp/","image_url":null,"width":"100%","published":"2012-06-15 00:00:01","author_name":"inamori","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20120615%2Fp2\" title=\"Windows PowerShell\u3067Project Euler\uff084\uff09 \u30eb\u30fc\u30d7 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["PowerShell"],"height":"190","version":"1.0"}