<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>誤差</anon>
    <anon>実装</anon>
  </categories>
  <description>問題 問題概要 0.(190桁)のような少数が与えらえる。これをn倍した値を求める。 解法 小数点以下が多くある状態で扱ってるとまずいので、全体を整数で扱うことにした。Dを整数としてあつかい、それに与えられたnをかける。あとは、これをDを整数にするためにかけた分だけ割ればいいが、普通に数字のまま割ってしまうと、また小数点以下が多く出てしまい、意味がなくなってしまう。そこで、文字列としてあつかい、どこに小数点をつけるべきかを考えればよい。今回の問題では、nが100までなので、どこで、桁が繰り上がるのかを計算しておいてそれによって3つに場合分けして、それぞれで小数点の位置を変えればいい。 ミス p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F10%2F03%2F002706&quot; title=&quot;yukicoder No.428 小数から逃げる夢 - srupのメモ帳&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-03 00:27:06</published>
  <title>yukicoder No.428 小数から逃げる夢</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/10/03/002706</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
