{"id":8202,"date":"2008-10-13T12:42:00","date_gmt":"2008-10-13T12:42:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=8202"},"modified":"2008-10-13T12:42:00","modified_gmt":"2008-10-13T12:42:00","slug":"%ec%9d%b8%ec%88%98-%eb%b6%84%ed%95%b4-%eb%ac%b8%ec%a0%9c","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=8202","title":{"rendered":"\uc778\uc218 \ubd84\ud574 \ubb38\uc81c"},"content":{"rendered":"<div class=\"desc\">\n        \uc74c&#8230;\uc774\uac83\ub3c4 \uc5b4\ub518\uac00\uc5d0\uc11c \ubd24\ub358 \ubb38\uc81c\ub2e4.<br \/>\n        <br \/>\n        500\uac1c \uc774\uc0c1\uc758 \uc57d\uc218\ub97c \uac00\uc9c0\ub294 \uccab\ubc88\uc9f8 \uc22b\uc790\ub97c \ucc3e\uc544\ub0b4\ub294 \ubb38\uc81c.<\/p>\n<p>        #include<stdio.h><br \/>\n        <br \/>\n        #include<stdlib.h><\/p>\n<p>        int numberOfFactors(unsigned long long );<\/p>\n<p>        int main(){<\/p>\n<p>        unsigned long long i=3ll;<br \/>\n        <br \/>\n        while(1){<br \/>\n        <br \/>\n        printf(&#8220;i=%lld\\t&#8221;,i);<br \/>\n        <br \/>\n        if(numberOfFactors(i*(i+1ll)\/2ll)>500){<br \/>\n        <br \/>\n        printf(&#8220;%lld has more 500 divisors\\n&#8221;,i*(i+1ll)\/2ll);<br \/>\n        <br \/>\n        exit(1);<br \/>\n        <br \/>\n        }<br \/>\n        <br \/>\n        i++;<br \/>\n        <br \/>\n        }<\/p>\n<p>        return 1;<br \/>\n        <br \/>\n        }<\/p>\n<p>        int numberOfFactors(unsigned long long p){<br \/>\n        <br \/>\n        unsigned long long n,i;<br \/>\n        <br \/>\n        n=0ll;<br \/>\n        <br \/>\n        for(i=1ll;i<((p\/2ll)+1ll);i++){\n        <br \/>\n        if(p%i==0ll){<br \/>\n        <br \/>\n        \/\/        printf(&#8220;%lld,&#8221;,i);<br \/>\n        <br \/>\n        n++;<br \/>\n        <br \/>\n        }<br \/>\n        <br \/>\n        }<br \/>\n        <br \/>\n        printf(&#8220;n=%lld\\tp=%lld\\n&#8221;,n,p);<br \/>\n        <br \/>\n        return n;<br \/>\n        <br \/>\n        }<br \/>\n        <\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=1005\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uc74c&#8230;\uc774\uac83\ub3c4 \uc5b4\ub518\uac00\uc5d0\uc11c \ubd24\ub358 \ubb38\uc81c\ub2e4. 500\uac1c \uc774\uc0c1\uc758 \uc57d\uc218\ub97c \uac00\uc9c0\ub294 \uccab\ubc88\uc9f8 \uc22b\uc790\ub97c \ucc3e\uc544\ub0b4\ub294 \ubb38\uc81c. #include #include int numberOfFactors(unsigned long long ); int main(){ unsigned long long i=3ll; while(1){ printf(&#8220;i=%lld\\t&#8221;,i); if(numberOfFactors(i*(i+1ll)\/2ll)>500){ printf(&#8220;%lld has more 500 divisors\\n&#8221;,i*(i+1ll)\/2ll); exit(1); } i++; } return 1; } int numberOfFactors(unsigned long long p){ unsigned long long n,i; n=0ll; for(i=1ll;i<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_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":""},"categories":[2],"tags":[],"class_list":["post-8202","post","type-post","status-publish","format-standard","hentry","category-academic"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-28i","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/8202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8202"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/8202\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8202"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}