{"title":"UVa10976 Fractions Again?!","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/moistx/","blog_url":"https://logfiles.hatenablog.com/","published":"2014-04-20 01:07:30","image_url":null,"version":"1.0","url":"https://logfiles.hatenablog.com/entry/20140420/1398010050","provider_name":"Hatena Blog","blog_title":"Logfiles","categories":["UVa"],"provider_url":"https://hatena.blog","author_name":"moistx","description":"\u554f\u984c http://uva.onlinejudge.org/external/109/10976.html\u5236\u7d04 \u5165\u529b\u306f 10000 \u4ee5\u4e0b\u3002\u89e3\u6cd5 \u6570\u5b66\u306e\u554f\u984c\u3002 \u5b9a\u6570 K \u304c\u5165\u529b\u3067\u5b9a\u307e\u308b\u306e\u3067\u3001x \u304b y \u3092\u52d5\u304b\u305b\u3070\u3082\u3046\u7247\u65b9\u306e\u5909\u6570\u304c\u7279\u5b9a\u3067\u304d\u308b\u3002 \u30dd\u30a4\u30f3\u30c8\u306f\u5165\u529b\u304b\u3089\u5909\u6570\u306e\u5236\u7d04\uff08\u672a\u77e5\u60c5\u5831\u306e\u5236\u7d04\uff09\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u3002\u5909\u6570\u306e\u6700\u5927\u306f 10000 \u3067\u306f\u306a\u304f\u3001K*2 #include <iostream> #include <sstream> #define REP(i, a, b) for(int i=(a);i<(b);i++) using namespace std; int main() { int K; w\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140420%2F1398010050\" title=\"UVa10976 Fractions Again?! - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}