• <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 閱讀(403) 評論(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
            久久国产亚洲精品| 久久久久无码精品国产不卡| 亚洲一区二区三区日本久久九| 国产免费久久精品丫丫| 久久天天婷婷五月俺也去| 精品国产一区二区三区久久| 久久精品成人欧美大片| 久久国产亚洲高清观看| 久久伊人五月天论坛| 国产精品久久久久9999| 国产A级毛片久久久精品毛片| 久久天堂电影网| 久久精品国产亚洲av麻豆小说| 狠狠精品久久久无码中文字幕| 精品久久久久久无码中文字幕一区 | 丰满少妇高潮惨叫久久久| 色婷婷狠狠久久综合五月| 四虎国产精品免费久久5151| 久久久久亚洲AV无码永不| 亚洲国产小视频精品久久久三级| 51久久夜色精品国产| 久久精品国产亚洲av影院| 2021国内久久精品| 思思久久好好热精品国产| 亚洲乱码日产精品a级毛片久久| 丰满少妇人妻久久久久久4| 精品久久一区二区| 久久国产精品-国产精品| 激情伊人五月天久久综合| 九九精品99久久久香蕉| 亚洲欧美成人综合久久久| 亚洲国产另类久久久精品小说| 欧美日韩久久中文字幕| 欧美日韩精品久久久久| 亚洲精品美女久久久久99小说| 亚洲综合久久久| 久久久av波多野一区二区| 久久A级毛片免费观看| 久久精品人人做人人爽电影| 2020最新久久久视精品爱| 精品久久久久久无码国产|