<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bluelightbleze</author_name>
  <author_url>https://blog.hatena.ne.jp/bluelightbleze/</author_url>
  <blog_title>全知全能を目指す人のありがたい雑記</blog_title>
  <blog_url>https://bluelightbleze.hatenablog.com/</blog_url>
  <categories>
    <anon>C言語</anon>
  </categories>
  <description>脳死で書いたので、もっと早い方法がありそうに思う。(int)sqrt(num*1.0)も正しく平方根が求められているのか、少し自信がない。 sqrt関数の戻り値が桁落ちして切り捨てされたら正しい値が返ってこないので。コード #include &lt;stdio.h&gt; #include &lt;math.h&gt; int main(void) { int num; scanf(&quot;%d&quot;, &amp;num); for(int m = 2; m &lt;= (int)sqrt(num*1.0); m++){ int current = num; int n = 0; while(current%m == 0){ current…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbluelightbleze.hatenablog.com%2Fentry%2F2019%2F10%2F28%2F164805&quot; title=&quot;入力された値のべき乗を求めるプログラム - 全知全能を目指す人のありがたい雑記&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>2019-10-28 16:48:05</published>
  <title>入力された値のべき乗を求めるプログラム</title>
  <type>rich</type>
  <url>https://bluelightbleze.hatenablog.com/entry/2019/10/28/164805</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
