• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            JonsenElizee

            Software Developing Blog

            "An idea is fragile . It can be killed by a scornful smile or a yawn .It can be mound down by irony and scared to death by a cold look."
            "Most cultures throughout human history have not liked creative individuals .They ignore them or kill them.It is a very efficient way of stopping creativity."

            ------Advertising boss Charles Browe and Howard Gardner ,professor at Harvard

               :: 首頁 :: 新隨筆 ::  ::  :: 管理 ::
            make judge on a natural number: if it's equals to pow(x, 2) and x is a natural number too.

            bool isPowered2(int n, int low, int hig, int dvd)
            {
                
            int mid = (low+hig)/dvd;
                
            int pwr = mid*mid;
                
            if(pwr == n) return true;
                
            else if(low == hig) return false;

                
            if(pwr > n) { // target number is in [low, mid-1]
                    return isPowered2(n, low, mid-1, dvd);
                }

                
            if(pwr < n) { // target number is in [mid+1, hig]
                    return isPowered2(n, mid+1, hig, 2); // use binary searching here.
                }
            }

            bool isPowered(int n)
            {
                
            if(n <= 100) {
                    
            if(n <= 25)
                        
            if(n == 1 || n == 4 || n == 9 || n == 16 || n == 25return true;
                    
            if(n == 36 || n == 49 || n == 64 || n == 81 || n == 100return true;
                    
            else return false;
                }

                
            return isPowered2(n, 1, n-1, 10); // why use 10 here ?
            }

            posted on 2010-12-07 10:50 JonsenElizee 閱讀(402) 評論(1)  編輯 收藏 引用

            評論

            # re: Is Natural Number N Powered 2012-11-04 19:56 Jason Huang
            您好,

            我是獵頭顧問Jason,現在給一家創業型美企(中美都有研發中心,全球<100人,業務是PC/MAC/iOS/Android/WP上的視頻電話,海淀蘇州街,清華北大班底)招聘C++高級開發工程師。

            開發要求1、精通Linux or Windows底層知識;2、精通C++;3、精通數據結構和算法。

            無論您現在做的什么方面的開發,只要您對mobile客戶端產品的開發感興趣并滿足職位要求的3個條件,都可以應聘。

            開發基本工資30-40萬+獎金+高額期權。

            不知道您或者您身邊有人考慮此職位么?

            BR,
            Jason Huang
            jason@isofttalent.com
            010-5283 7763  回復  更多評論
              

            By JonsenElizee
            久久久久久久精品成人热色戒| 久久精品亚洲男人的天堂| 久久久噜噜噜www成人网| .精品久久久麻豆国产精品| 久久99精品九九九久久婷婷| 久久只这里是精品66| 久久99精品国产麻豆宅宅| 精品久久人人妻人人做精品 | 99久久精品免费| 国产亚洲精午夜久久久久久| 久久成人永久免费播放| 婷婷久久香蕉五月综合加勒比| 亚洲国产精品一区二区久久| 欧美日韩精品久久免费| 99久久免费国产精品| 亚洲伊人久久大香线蕉综合图片| 国产激情久久久久影院老熟女| 久久一日本道色综合久久| 中文字幕无码久久人妻| 久久久黄片| 国产精品久久久天天影视香蕉 | 国产精品成人99久久久久91gav | 97久久精品人人澡人人爽| 潮喷大喷水系列无码久久精品| 亚洲乱码精品久久久久..| 久久精品国产欧美日韩99热| 久久久久这里只有精品| 精品99久久aaa一级毛片| 国产精品美女久久久久av爽| 99久久免费国产精精品| 91精品国产乱码久久久久久 | 国产精品伦理久久久久久| 青青草原综合久久| 超级碰久久免费公开视频| 久久国产成人| 亚洲а∨天堂久久精品9966| 香蕉久久永久视频| 亚洲欧洲日产国码无码久久99| 影音先锋女人AV鲁色资源网久久 | 久久久国产亚洲精品| 亚洲国产视频久久|