{"url":"https://y-uti.hatenablog.jp/entry/2013/12/05/232920","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-uti.hatenablog.jp%2Fentry%2F2013%2F12%2F05%2F232920\" title=\"\u30c7\u30fc\u30bf\u3092\u6b63\u3057\u3044\u578b\u3067\u6271\u3046\u3053\u3068\u306b\u3088\u308b\u9ad8\u901f\u5316 - y_uti \u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"y_uti \u306e\u30d6\u30ed\u30b0","published":"2013-12-05 23:29:20","author_name":"y_uti","height":"190","image_url":null,"provider_url":"https://hatena.blog","title":"\u30c7\u30fc\u30bf\u3092\u6b63\u3057\u3044\u578b\u3067\u6271\u3046\u3053\u3068\u306b\u3088\u308b\u9ad8\u901f\u5316","width":"100%","type":"rich","version":"1.0","provider_name":"Hatena Blog","blog_url":"https://y-uti.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/y_uti/","categories":[],"description":"PHP \u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u306f\u578b\u3092\u610f\u8b58\u305b\u305a\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3057\u307e\u3044\u304c\u3061\u3067\u3059\u304c\u3001\u9069\u5207\u306a\u578b\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u51e6\u7406\u901f\u5ea6\u3092\u5927\u304d\u304f\u6539\u5584\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308a\u3083\u3042\u305d\u3046\u3060\u308d\u3046\u3068\u3044\u3046\u8a71\u306a\u306e\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u8a08\u6e2c\u3057\u3066\u307f\u308b\u3068\u4e88\u60f3\u4ee5\u4e0a\u306b\u5927\u304d\u306a\u52b9\u679c\u304c\u3042\u3063\u3066\u9a5a\u304d\u307e\u3057\u305f\u3002\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u914d\u5217\u306b\u5024\u3092\u8aad\u307f\u8fbc\u3093\u3067\u7b97\u8853\u6f14\u7b97\u3092\u7e70\u308a\u8fd4\u3059\u3088\u3046\u306a\u51e6\u7406\u3092\u8003\u3048\u307e\u3059\u3002 $ cat prog1.php <?php $arr = array(); while ($line = fgets(STDIN)) { $arr[] = trim($line); } $len = count($arr); $result = 0; for (\u2026"}