{"author_url":"https://blog.hatena.ne.jp/moistx/","blog_title":"Logfiles","published":"2014-04-11 15:53:20","type":"rich","author_name":"moistx","provider_name":"Hatena Blog","description":"\u554f\u984c http://uva.onlinejudge.org/external/2/264.html\u6982\u8981 AOJ1007 JPEG Compression \u306e\u52a3\u5316\u7248\u89e3\u6cd5 \u3046\u307e\u3044\u3084\u308a\u65b9\u3082\u3042\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u65b9\u5411\u3067\u5834\u5408\u5206\u3051\u3092\u3057\u3066\u56db\u65b9\u5411\u5206\u4f5c\u308a\u3001\u611a\u76f4\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3051\u3070\u7d42\u308f\u308a\u3002 #include <bits/stdc++.h> using namespace std; int main() { int N; while(cin >> N) { int dir = 1; int cnt = 1; int nume = 1, deno = 1; while(1) { if(N == cnt) { break; \u2026","version":"1.0","categories":["UVa"],"image_url":null,"url":"https://logfiles.hatenablog.com/entry/20140411/1397199200","blog_url":"https://logfiles.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140411%2F1397199200\" title=\"UVa264 Count on Cantor - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"UVa264 Count on Cantor","height":"190"}