{"width":"100%","blog_url":"https://rokugats-pc.hateblo.jp/","image_url":null,"provider_url":"https://hatena.blog","height":"190","type":"rich","provider_name":"Hatena Blog","categories":["AOJ","ICPC\u56fd\u5185\u4e88\u9078"],"url":"https://rokugats-pc.hateblo.jp/entry/2014/06/30/235123","title":"AOJ 1135 Ohgas' Fortune","author_name":"rokugats","version":"1.0","blog_title":"ICPC log","description":"\u3084\u308b\u3060\u3051\u30022005\u56fd\u5185\u4e88\u9078A\u554f\u984c\u3002 #include <cstdio> #include <algorithm> using namespace std; int main() { int m; scanf(\"%d\", &m); while (m--) { int fund, year, n; scanf(\"%d %d %d\", &fund, &year, &n); int ans = fund; while (n--) { int type, fee; double rate; scanf(\"%d %lf %d\", &type, &rate, &fee); int result = fund\u2026","author_url":"https://blog.hatena.ne.jp/rokugats/","published":"2014-06-30 23:51:23","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frokugats-pc.hateblo.jp%2Fentry%2F2014%2F06%2F30%2F235123\" title=\"AOJ 1135 Ohgas&#39; Fortune - ICPC log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}