青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

The Fourth Dimension Space

枯葉北風(fēng)寒,忽然年以殘,念往昔,語默心酸。二十光陰無一物,韶光賤,寐難安; 不畏形影單,道途阻且慢,哪曲折,如渡飛湍。斬浪劈波酬壯志,同把酒,共言歡! -如夢令

#

周末要做的幾件事

1。完成曹雪的語法分析器
2。完成葉慶生的項目
3。有道難題的資格賽 (周六晚)
4。復(fù)習(xí)和總結(jié)動態(tài)規(guī)劃專題(包括那個自學(xué)的內(nèi)容)

posted @ 2010-05-27 10:51 abilitytao 閱讀(253) | 評論 (0)編輯 收藏

Master of Science - Robotics Technology Program

The MS-RT professional masters degree program trains future leaders of robotics and intelligent automation enterprises and agencies in the principles and practices of robotics and automation science and engineering, software engineering, and management. The program is appropriate for students with backgrounds in an engineering or science discipline and practical abilities in computer systems and software engineering. Classroom training is reinforced by an extensive supervised practicum designed to expose the students to research laboratory and industrial environments. They will thus acquire - and be expected to demonstrate - individual and group competence in the skills and practices that will be needed to support the entrepreneurial teams they will lead upon their return to their home countries.

The two-year program is composed of two one-year phases. First year studies are at an international partner institution's campus via distance education materials produced by the Robotics Institute and delivered by the partner's faculty. Successful students transition to Carnegie Mellon's main campus to complete a second year of classes and an extensive practicum. Graduates are eligible to pursue additional practical training in the US before returning to their home countries.

Preferably the additional training will be an internship with a company in the US that, afterwards, will employ the student at a division in his or her home country. The program's intention is for graduates to return home to entrepreneurial activities that will contribute to sustainable development there.

  • Historical Note: In 2005 some graduates of this program received Master of Science in Information Technology - Robotics Technology (MSIT-RT) degrees and others received MSIT degrees. In 2006 and 2007 all graduates received MSIT-RT degrees. Subsequently the program name was changed to Master of Science - Robotics Technology (MS-RT) to better reflect its actual content. For additional simplicity, all graduates are listed here as having received MS-RT degrees.
  • Additional information

    posted @ 2010-05-24 13:40 abilitytao 閱讀(285) | 評論 (0)編輯 收藏

    湘潭市程序設(shè)計比賽 I robot,bfs

         摘要: 這題出得不錯,在傳統(tǒng)的bfs上加了點改進(jìn),好題~ #include<iostream>#include<cmath>using namespace std;int const maxn=110;int mm[maxn][maxn];int v[maxn][maxn][4];//0上,1右,2下,3左struct&...  閱讀全文

    posted @ 2010-05-22 22:05 abilitytao 閱讀(1624) | 評論 (0)編輯 收藏

    POJ 2447 破解RSA(經(jīng)典公鑰算法)

    周五剛好在俞研的網(wǎng)絡(luò)安全課上學(xué)了RSA,回來想實現(xiàn)以下,由于以前數(shù)論方面的積累還算比較深厚,很快就過了這一題,呵呵:-)
    總結(jié)一下吧,這題可以說是數(shù)論部分的一個大綜合題,因為它將算法導(dǎo)論上數(shù)論這部分的知識點全部包含了進(jìn)來,包括gcd,擴展gcd,模線性方程,a^b mod c(還是比較難的那種,相關(guān)題目可以看一下FOZ上面的2道題),miller-rabin素數(shù)測試,pollard_rho質(zhì)因數(shù)分解等等,把這題搞定了說明你對算法導(dǎo)論的數(shù)論部分已經(jīng)可以做到熟練掌握了,相當(dāng)于<算法導(dǎo)論>數(shù)論部分的期末測試,呵呵^_^。
    下面簡要的說一下這題的做法,首先簡要介紹一下RSA算法加密解密的過程:
    我們首先生成兩個大的素數(shù)P,Q,乘起來得N=P*Q.然后算出N的歐拉函數(shù)Phi(N)=(P-1)*(Q-1).(什么是歐拉函數(shù)?這個世界上有一種東西叫做百度...),然后我們?nèi)∫粋€范圍在[1,phi(N)]中且與phi(N)互質(zhì)的正整數(shù)E.它就是所謂的公鑰。得到公鑰之后,我們再算出E關(guān)于phi(N)的逆元D,即E*D mod phi(N)=1.這個D就是私鑰。在得到這些數(shù)據(jù)以后,P,Q被丟棄,E,N做為公鑰被公開,D做為私鑰被解密人私人保存。

    好了,下面看一下如何用公鑰和私鑰對數(shù)據(jù)進(jìn)行加密解密。
    假設(shè)有一個明文M,那么它所對應(yīng)的密文就是C=M^E mod N.
    如果我們現(xiàn)在得到一個密文C,那么它所對應(yīng)的明文就是M=C^D mod N
    也就是說,任何人都可以用公鑰對數(shù)據(jù)進(jìn)行加密,但是只有擁有私鑰的人才可以對數(shù)據(jù)進(jìn)行解密。

    那么RSA算法為什么不易被破解呢?從解密的過程來看如果你能夠知道D那么你就能解密數(shù)據(jù)。而E,D是逆元關(guān)系,要求出D,需要知道phi(N),由于N非常之大,普通的做法是從1開始枚舉到N-1,計算和N互質(zhì)的元素個數(shù)。可是N可以是幾百位到上千位的數(shù)字,普通的計算機只能在1s內(nèi)算到10^8量級,顯然是不可能破解的。唯一有可能的方法基于大素數(shù)分解,如果你能將N分解成P*Q的乘積。那么就可以直接利用公式phi(N)=(P-1)*(Q-1)繞開暴力求解歐拉函數(shù)的過程,從而實現(xiàn)RSA的破解。

    這道題就是模擬這個破解過程,下面來說說具體的做法:
    1.首先用miller-rabin,pollard_rho做大整數(shù)的質(zhì)因數(shù)分解,得到兩個素數(shù)P,Q,pollard_rho的復(fù)雜度在N^0.25次方,那么一個64位的整數(shù) 要計算的次數(shù)為 2^64^0.25=2^16 =65536次,可以瞬間出解。
    2.求出phi(N)=(P-1)*(Q-1)
    3.然后用ext_gcd求出E關(guān)于phi(N)的逆元。
    4.用得到的私鑰對數(shù)據(jù)C進(jìn)行解密即可。

    PS:對這題而言,僅僅完成上述步驟還是不夠的。因為N達(dá)到2^62次方,即使是使用無符號long long ,也很容易因為出乘法操作而溢出。這也是網(wǎng)上說要避免使用擴展歐幾里德的原因。其實實現(xiàn)的時候,我們可以自己寫一個特殊的乘法(內(nèi)部用加法實現(xiàn)),由于使用的無符號的long long ,第64位剛好可以用來保存兩個數(shù)加過之后的進(jìn)位位,再模除又可以保證其在2^62范圍內(nèi),即可避免溢出。

    posted @ 2010-05-22 14:39 abilitytao 閱讀(3084) | 評論 (0)編輯 收藏

    ZOJ 2105 矩陣乘法(求線性常系數(shù)差分方程第N項)

    DIY群上說可以用暴力循環(huán)節(jié)的方法來做,的確也是不錯的,不過練題的本質(zhì)在于學(xué)到新的東西,所以就用矩陣乘法敲了,恩 感覺收獲還是蠻大的,掌握了和矩陣相關(guān)的很多運算。
    #include<iostream>
    #include
    <algorithm>
    using namespace std;

    struct matrix
    {
        
    int n,m;
        
    int a[2][2];
        matrix 
    operator *(matrix other)
        
    {
            
    int i,j;
            matrix res;
            res.n
    =n;
            res.m
    =other.m;
            
    for(i=0;i<n;i++)
                
    for(j=0;j<m;j++)
                
    {
                    res.a[i][j]
    =0;
                    
    for(int k=0;k<m;k++)
                    
    {
                        res.a[i][j]
    +=a[i][k]*other.a[k][j];
                        
    if(res.a[i][j]>=7)
                            res.a[i][j]
    %=7;
                    }

                }

            
    return res;
        }


        matrix 
    operator +(matrix other)
        
    {
            matrix res;
            
    for(int i=0;i<n;i++)
                
    for(int j=0;j<m;j++)
                
    {

                    res.a[i][j]
    =a[i][j]+other.a[i][j];
                    
    if(res.a[i][j]>=7)
                        res.a[i][j]
    %=7;
                }

            
    return res;

        }

    }
    ;

    matrix a;
    matrix ans;
    int A,B,n;
    matrix g(
    int k)//算A^k
    {
        matrix t;
        
    if(k==1)
            
    return a;
        
    if(k&1)
        
    {
            t
    =g(k>>1);
            t
    =t*t;
            t
    =t*a;
        }

        
    else
        
    {
            t
    =g(k>>1);
            t
    =t*t;
        }

        
    return t;
    }


    void init()
    {
        a.n
    =2;a.m=2;
        a.a[
    0][0]=0;
        a.a[
    0][1]=1;
        a.a[
    1][0]=B;
        a.a[
    1][1]=A;
        
    //////////////////////////////////////////////////////////////////////////
        ans.n=2;
        ans.m
    =1;
        ans.a[
    0][0]=1;
        ans.a[
    1][0]=1;
    }



    int main()
    {
        
    int i,j;
        
        

        
    while(scanf("%d%d%d",&A,&B,&n)!=EOF)
        
    {

            
    if(A==0&&B==0&&n==0)
                
    break;
            
    if(n==1||n==2)
            
    {
                printf(
    "1\n");
                
    continue;
            }

            init();
            a
    =g(n-2);
            ans
    =a*ans;
            printf(
    "%d\n",ans.a[1][0]);
        }

        
    return 0;
    }

    posted @ 2010-05-21 22:31 abilitytao 閱讀(1433) | 評論 (0)編輯 收藏

    TC SRM 470

         摘要: 做完心情不太好,1000分的水題居然因為自己開小了數(shù)組而掛掉。算了,不解釋。250 #include<iostream>#include<algorithm>#include<cstdio>#include<string>#include<vector>using namespace std;struct ...  閱讀全文

    posted @ 2010-05-21 01:22 abilitytao 閱讀(1205) | 評論 (0)編輯 收藏

    HDOJ 1007 Quoit Design 平面最近點對

    剛好課上學(xué)了平面最近點對的算法,回來實現(xiàn)以下,恩 ,分治的思想很重要。呵呵,又學(xué)會了一個算法。

    #include<iostream>
    #include
    <cstdio>
    #include
    <cmath>
    #include
    <algorithm>
    using namespace std;
    #define eps 1e-8

    const int maxn=200001;
    const double INF=999999999;

    typedef 
    struct point
    {
        
    double x,y;
        
    //int flag;
        point(){};  
    }
    point;
    point p[maxn];
    int n; 
    int cmp(double x,double y)
    {
        
    if(x==y)return 0;
        
    if(x>y)return 1;
        
    return -1
    }
           

    bool cmp1(point a,point b)
    {
        
    if(a.x!=b.x)
            
    return a.x<b.x;
        
    else
            
    return a.y<b.y;
    }

    bool cmp2(int i,int j)
    {
        
    return cmp(p[i].y,p[j].y)<0;
    }

    double dist(point &a,point &b)
    {
        
    return sqrt((a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y));
    }



    int y[maxn],len;
    double cp(point p[],int l,int r)//求從l到r這些點的最近點對
    {
        
    int i,j;
        
    int mid=(l+r)>>1;
        
    double ret=INF;
        
    if(l>=r)
            
    return ret;
        
    for(i=mid;i>=l&&!cmp(p[i].x,p[mid].x);i--);
        
    double t1=cp(p,l,i);
        
    for(i=mid;i<=r&&!cmp(p[i].x,p[mid].x);i++);
        
    double t2=cp(p,i,r);
        
    if(t1<t2)
            ret
    =t1;
        
    else ret=t2;

        len
    =0;
        
    for(i=l;i<=r;i++)
        
    {
            
    if(fabs(p[i].x-p[mid].x)<ret)
                y[
    ++len]=i;
        }


        sort(y
    +1,y+len+1,cmp2);

        
    for(i=1;i<=len;i++)
        
    {
            
    int cnt=1;
            
    for(j=i+1;j<=len&&cnt<=7;j++)
            
    {
                ret
    =min(ret,dist(p[y[i]],p[y[j]])); 
                cnt
    ++;
            }

        }

        
    return ret;
    }


    bool check(int n)
    {
        
    int i;
        
    for(i=2;i<=n;i++)
        
    {
            
    if(p[i].x==p[i-1].x&&p[i].y==p[i-1].y)
                
    return true;
        }

        
    return false;
    }




    int main()
    {

        
    int n;
        
    while(scanf("%d",&n)!=EOF)
        
    {    
            
    if(n==0)
                
    break;

            
    int i;
            
    for(i=1;i<=n;i++)
                scanf(
    "%lf%lf",&p[i].x,&p[i].y);
            sort(p
    +1,p+n+1,cmp1);
            
    if(check(n))
            
    {
                printf(
    "0.00\n");
                
    continue;
            }

            
    double ans=cp(p,1,n)/2;
            printf(
    "%.2lf\n",ans);

        }

        
    return 0;    

    }












     

    posted @ 2010-05-20 20:13 abilitytao 閱讀(2266) | 評論 (4)編輯 收藏

    一點思考

    越來越發(fā)現(xiàn) 其實學(xué)生的水平 很大程度上還是依賴學(xué)校的綜合實力 畢竟我們學(xué)到的東西一大部分都是從老師那里來的 看來還是要多和外校的老師和同學(xué)交流才行啊。

    posted @ 2010-05-19 14:54 abilitytao 閱讀(231) | 評論 (2)編輯 收藏

    關(guān)于算法的一些細(xì)節(jié)拾遺

    取整函數(shù)的一些性質(zhì):

             x-1 < ëxû £ x £ éxù < x+1

              ë n/2 û  +  é n/2 ù = n;

              對于n ³ 0a,b>0,有:

              é é n/a ù /b ù = é n/ab ù ;

              ë ë n/a û /b û = ë n/ab û ;

              é a/b ù £ (a+(b-1))/b;  (函數(shù)值的緊上界)

              ë a/b û ³ (a-(b-1))/b;  (函數(shù)值的緊下界)

              f(x)= ë x û , g(x)= é x ù 為單調(diào)遞增函數(shù)

     

    posted @ 2010-05-19 13:19 abilitytao 閱讀(202) | 評論 (0)編輯 收藏

    快速排序,歸并排序,兩種基于分治策略的排序算法.

    /////////////////////快速排序,時間復(fù)雜度為O(nlog2n)///////////////////////
    template<class T>
    int Partion(T a[],int i,int j)//劃分函數(shù)
    {  
        T temp;
        temp
    =a[i];
        
    while(i<j)
        
    {  
            
    while(i<&& temp<=a[j])  
                    j
    --;
            
    if(i<j)
            

                a[i]
    =a[j]; 
                i
    ++
            }

            
    while(i<&& a[i]<=temp) 
                i
    ++;
            
    if(i<j)
            

                a[j]
    =a[i]; 
                j
    --
            }

        }

        a[i]
    =temp;
        
    return i;
    }



    template 
    <class T>
    void qsort(T a[],int l,int h)
    {
        
    int m;
        
    if(l<h) 
        

            m
    =Partion(a,l,h);
            qsort(a,l,m
    -1);
            qsort(a,m
    +1,h); 
        }

    }


    template
    <class T>
    void SortWizard<T>::QuickSort()
    {
        qsort(a,
    0,n-1);
    }


    ////////////////////QuickSort_O(nlog2n)////////////////////////


    ///////////////////////歸并排序,時間復(fù)雜度O(nlog2n)/////////////////////////////

    template 
    <class T>
    void Merge(T sr[],T tr[],int l,int m,int n)
    {
        
    int i,j,k;
        i
    =l;
        j
    =m+1;
        k
    =l-1;
        
    while(i<=&& j<=n)
        
    {
            
    if(sr[i]<sr[j]) 
                tr[
    ++k]=sr[i++];
            
    else 
                tr[
    ++k]=sr[j++];
        }

            
    while(i<=m)
                tr[
    ++k]=sr[i++];
            
    while(j<=n)
                tr[
    ++k]=sr[j++];
            
    for(i=l;i<=n;i++
                sr[i]
    =tr[i];
    }


    template 
    <class T>
    void Msort(T a[],T st[],int s,int t)
    {
        
    int m;
        
    if(s<t) 
        

            m
    =(s+t)>>1;
            Msort(a,st,s,m);
            Msort(a,st,m
    +1,t);
            Merge(a,st,s,m,t);
        }

    }


    template 
    <class T>
    void SortWizard<T>::MergeSort()

        T 
    *st=new T[n];
        Msort(a,st,
    0,n-1);  
        delete  [ ]st;
    }

    /**///////////////////////MergeSort_O(nlog2n)///////////////////////////////

    posted @ 2010-05-18 20:13 abilitytao 閱讀(366) | 評論 (0)編輯 收藏

    僅列出標(biāo)題
    共42頁: First 10 11 12 13 14 15 16 17 18 Last 
    青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            欧美激情成人在线| 亚洲精品综合| 蜜臀av在线播放一区二区三区| 在线亚洲自拍| 99在线|亚洲一区二区| 日韩视频在线你懂得| 99精品国产在热久久| 亚洲网友自拍| 亚洲伊人久久综合| 久久九九免费视频| 欧美国产高清| 国产精品网站在线观看| 国产视频一区在线观看| 在线观看国产成人av片| 亚洲美女区一区| 香蕉久久夜色| 免费视频一区| 亚洲人久久久| 亚洲欧美日韩在线一区| 欧美一区二粉嫩精品国产一线天| 欧美一区二区视频免费观看| 久久综合狠狠综合久久激情| 欧美日韩一视频区二区| 亚洲精品一区二区三区四区高清 | 在线看日韩av| aa日韩免费精品视频一| 午夜欧美大片免费观看| 欧美jizzhd精品欧美喷水| 日韩一本二本av| 久久精品99国产精品| 欧美日韩亚洲一区二区三区在线观看 | 中文精品视频| 欧美成年人在线观看| 国产精品毛片在线| 91久久国产综合久久| 久久av资源网| 一区二区三区欧美激情| 免费成人网www| 国产一区亚洲一区| 性感少妇一区| 欧美午夜电影网| 国产精品任我爽爆在线播放| 欧美黄色一区| 欧美高清视频一区| 国产精品久久久对白| 欲香欲色天天天综合和网| 亚洲一区久久| 亚洲精品国产无天堂网2021| 午夜精品久久久久久久白皮肤 | av不卡在线| 久热精品视频在线| 国产伪娘ts一区| 亚洲欧美变态国产另类| 亚洲精品视频免费| 免费日韩成人| 亚洲黄色三级| 亚洲国产三级网| 欧美成人免费全部观看天天性色| 国产伊人精品| 久久午夜激情| 久久爱www.| 国内精品国语自产拍在线观看| 先锋亚洲精品| 亚洲欧美激情视频| 国产欧美一区二区视频| 欧美在线视频a| 性欧美激情精品| 国语自产偷拍精品视频偷| 久久精精品视频| 久久国产一区| 亚洲国产美女精品久久久久∴| 免费亚洲电影在线| 噜噜噜久久亚洲精品国产品小说| 亚洲福利视频免费观看| 欧美国产一区二区| 欧美日韩国产在线观看| 亚洲一区二区三区在线看| 国产精品99久久久久久人| 国产精品视频导航| 久久久久久亚洲综合影院红桃 | 亚洲国产裸拍裸体视频在线观看乱了 | 日韩一区二区久久| 亚洲精选91| 国产精品欧美日韩一区| 久久gogo国模裸体人体| 久久免费精品视频| 日韩图片一区| 亚洲一区二区三区中文字幕在线| 国产一区视频观看| 亚洲娇小video精品| 国产亚洲网站| 亚洲福利在线视频| 欧美激情精品久久久久久变态| 洋洋av久久久久久久一区| 中日韩美女免费视频网站在线观看| 国产精品专区第二| 美女精品一区| 欧美午夜精品久久久久久超碰| 欧美影院视频| 欧美成人乱码一区二区三区| 亚洲午夜一区| 久久精品视频在线| 中文精品在线| 久久久免费精品视频| 亚洲图中文字幕| 久久综合九色九九| 性xx色xx综合久久久xx| 欧美波霸影院| 久久久久久噜噜噜久久久精品| 欧美精品v日韩精品v国产精品| 欧美怡红院视频| 欧美精品一区二区三区蜜臀| 久久久亚洲欧洲日产国码αv| 欧美另类综合| 免费观看30秒视频久久| 国产精品一区一区| 日韩视频免费观看高清在线视频| 红杏aⅴ成人免费视频| 亚洲图片欧美日产| 99伊人成综合| 久久影院午夜论| 久久精品亚洲| 国产美女一区二区| 亚洲一区二区精品| 亚洲天堂av图片| 欧美日本高清视频| 欧美与黑人午夜性猛交久久久| 久久伊伊香蕉| 久久影院亚洲| 国产三区精品| 先锋影音网一区二区| 先锋影音一区二区三区| 国产精品美女黄网| 国产精品99久久久久久有的能看| 一本色道久久88亚洲综合88| 欧美成在线观看| 亚洲黄色一区二区三区| 亚洲国产小视频| 欧美91福利在线观看| 亚洲国产精品久久久久婷婷884 | 狠狠色丁香婷婷综合| 亚洲综合清纯丝袜自拍| 亚洲欧美激情视频在线观看一区二区三区| 欧美精品v日韩精品v国产精品| 91久久线看在观草草青青| 亚洲欧洲精品一区二区精品久久久| 久久久久久色| 欧美激情按摩在线| 日韩西西人体444www| 欧美理论电影在线播放| 亚洲最新在线| 中日韩美女免费视频网址在线观看| 欧美女人交a| 国产亚洲福利一区| 欧美大片在线看免费观看| 亚洲第一精品影视| 嫩草影视亚洲| 亚洲每日更新| 午夜精品一区二区三区在线视 | 亚洲国产综合视频在线观看| 久久先锋影音av| 91久久精品美女高潮| 亚洲午夜一区二区| 国产视频在线观看一区二区| 久久网站热最新地址| 亚洲欧洲一区二区在线播放| 亚洲在线免费视频| 韩日精品视频| 欧美日韩成人一区| 亚洲欧美在线磁力| 欧美成ee人免费视频| 亚洲在线播放电影| 看片网站欧美日韩| 一二三四社区欧美黄| 久久精品理论片| 亚洲美女免费精品视频在线观看| 欧美午夜视频在线| 久久久亚洲欧洲日产国码αv | 亚洲大片在线| 亚洲永久免费观看| 极品少妇一区二区三区| 欧美日韩hd| 久久精品中文字幕一区| 野花国产精品入口| 欧美成人一区二区在线| 午夜精品亚洲| 一区二区三区视频在线看| 好吊色欧美一区二区三区四区 | 一本色道久久综合| 国产一区二区三区在线观看免费视频| 免费人成网站在线观看欧美高清| 亚洲欧美日韩综合国产aⅴ| 亚洲国产精品久久人人爱蜜臀 | 欧美日韩mv| 牛夜精品久久久久久久99黑人 | 一区二区久久久久久| 一区二区三区在线免费播放| 国产精品毛片大码女人| 欧美日韩精品免费观看视频完整| 久久成人国产精品|