{"type":"rich","width":"100%","version":"1.0","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"betrue12","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2018%2F12%2F01%2F224748\" title=\"Ruby\u3067\u7af6\u30d7\u30ed\u3059\u308b\u3068\u304d\u306eTips - ARMERIA\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby\u3067\u7af6\u30d7\u30ed\u3059\u308b\u3068\u304d\u306eTips","categories":["Ruby","\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://betrue12.hateblo.jp/entry/2018/12/01/224748","image_url":"https://chart.apis.google.com/chart?cht=tx&chl=%2010%5E%7B9%7D%20%2B%207","published":"2018-12-01 22:47:48","blog_title":"ARMERIA","blog_url":"https://betrue12.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/betrue12/","description":"\u3042\u308b\u7a0b\u5ea6\u77e5\u898b\u304c\u6e9c\u307e\u3063\u3066\u304d\u305f\u306e\u3067\u307e\u3068\u3081\u3066\u3044\u304d\u307e\u3059\u3002 \u5404\u30aa\u30f3\u30e9\u30a4\u30f3\u30b8\u30e3\u30c3\u30b8\u306eRuby\u74b0\u5883 2018\u5e7412\u6708\u304f\u3089\u3044\u306e\u60c5\u5831\u3067\u3059\u3002 \u30b5\u30a4\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3 AtCoder 2.3.3 Codeforces 2.0.0 yukicoder 2.5.3 AOJ 2.4.0 \u3053\u306e\u8a18\u4e8b\u306f\u57fa\u672c\u7684\u306bAtCoder\u306e2.3\u7cfb\u3092\u5bfe\u8c61\u306b\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002 Codeforces\u306f\u3061\u3087\u3063\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u306e\u3068\u3001\u5b9f\u884c\u6642\u9593\u5236\u9650\u304c\u30ad\u30c4\u76ee\u306a\u306e\u3067\u79c1\u306fRuby\u3092\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093\u3002 \u5165\u51fa\u529b\u7de8 \u57fa\u672c\u7684\u306a\u5165\u529b\u3002 N = gets.to_i # \u5358\u4e00\u6574\u6570 a = gets.split.map(&:to_i) # \u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3089\u308c\u305f\u8907\u6570\u306e\u6574\u6570 a = \u2026"}