{"id":90,"date":"2013-04-18T09:55:04","date_gmt":"2013-04-18T07:55:04","guid":{"rendered":"http:\/\/atp4kids.wordpress.com\/?p=90"},"modified":"2013-04-18T09:55:04","modified_gmt":"2013-04-18T07:55:04","slug":"%d0%b8%d0%b7%d0%b2%d0%b5%d0%b6%d0%b4%d0%b0%d0%bd%d0%b5-%d0%bd%d0%b0-%d1%80%d0%b0%d0%b7%d0%b1%d0%b8%d1%82%d0%b8-%d1%86%d0%b8%d1%84%d1%80%d0%b8-%d0%bd%d0%b0-n-%d1%86%d0%b8%d1%84%d1%80%d0%b5%d0%bd%d0%be","status":"publish","type":"post","link":"https:\/\/atp.bfu.bg\/?p=90","title":{"rendered":"\u0418\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u0438 \u0446\u0438\u0444\u0440\u0438 \u043d\u0430 n-\u0446\u0438\u0444\u0440\u0435\u043d\u043e \u0447\u0438\u0441\u043b\u043e"},"content":{"rendered":"<p>#include&lt;iostream&gt;<br \/>\n<strong>using namespace std;<\/strong><br \/>\n\/\/\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430 \u0441\u0442\u0435\u043f\u0435\u043d \u043d\u0430 10-\u043a\u0430\u0442\u0430<br \/>\n<strong>int<\/strong> stepen(double a)<br \/>\n{<br \/>\n   <strong>int<\/strong> sum=1;<br \/>\n   for(<strong>int <\/strong>i=1;i&lt;=a;i++)\u00a0sum=sum*10;<\/p>\n<p>   <strong>return <\/strong>sum;<br \/>\n}<br \/>\n<strong>int<\/strong> main()<br \/>\n{<br \/>\n   <strong>int <\/strong>x,br=0;<br \/>\n   cin &gt;&gt;x;<br \/>\n   <strong>int <\/strong>y=x;<br \/>\n   \/\/\u0417\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u0431\u0440\u043e\u044f \u043d\u0430 \u0446\u0438\u0444\u0440\u0438\u0442\u0435 \u043d\u0430 \u0447\u0438\u0441\u043b\u043e\u0442\u043e \u0432 br<br \/>\n   <strong>for<\/strong>(<strong>int <\/strong>i=0;i&lt;9999999;i++)<br \/>\n   {<br \/>\n      <strong>if<\/strong>(y!=0)<br \/>\n      {<br \/>\n         br++;<br \/>\n         y=y\/10;<br \/>\n      }<br \/>\n      <strong>else<\/strong><br \/>\n      <strong>break<\/strong>;<br \/>\n   }<br \/>\n   \/\/\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u043e\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 stepen()<br \/>\n   <strong>for<\/strong>(<strong>int <\/strong>i=br-1;i&gt;=0;i&#8211;)<br \/>\n   cout &lt;&lt; (<strong>int<\/strong>)(x)\/stepen(i)%10 &lt;&lt; &#8220; &#8222;;<\/p>\n<p>   <strong>return <\/strong>0;<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#include&lt;iostream&gt; using namespace std; \/\/\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430 \u0441\u0442\u0435\u043f\u0435\u043d \u043d\u0430 10-\u043a\u0430\u0442\u0430 int stepen(double a) { int sum=1; for(int i=1;i&lt;=a;i++)\u00a0sum=sum*10; return sum; } int main() { int x,br=0; cin &gt;&gt;x; int y=x; \/\/\u0417\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u0431\u0440\u043e\u044f \u043d\u0430 \u0446\u0438\u0444\u0440\u0438\u0442\u0435 \u043d\u0430 \u0447\u0438\u0441\u043b\u043e\u0442\u043e \u0432 br for(int i=0;i&lt;9999999;i++) { if(y!=0) { br++; y=y\/10; } else break; } \/\/\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u043e\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 &hellip; <a href=\"https:\/\/atp.bfu.bg\/?p=90\" class=\"more-link\">\u041d\u0430\u0442\u0430\u0442\u044a\u043a <span class=\"screen-reader-text\">\u0418\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0440\u0430\u0437\u0431\u0438\u0442\u0438 \u0446\u0438\u0444\u0440\u0438 \u043d\u0430 n-\u0446\u0438\u0444\u0440\u0435\u043d\u043e \u0447\u0438\u0441\u043b\u043e<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[9],"tags":[],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-9"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4l2be-1s","_links":{"self":[{"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":0,"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"wp:attachment":[{"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atp.bfu.bg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}