F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_20613642_19732.cpp:6:5: error: 'n' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
     ^
0_0_20613642_19732.cpp:6:24: error: 'ans' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                        ^
0_0_20613642_19732.cpp:6:30: error: 'ans' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                              ^
0_0_20613642_19732.cpp:6:47: error: expected unqualified-id before 'for'
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                                               ^
0_0_20613642_19732.cpp:6:55: error: 'i' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                                                       ^
0_0_20613642_19732.cpp:6:60: error: 'i' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                                                            ^
0_0_20613642_19732.cpp:6:142: error: 'cout' does not name a type
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                                                                                                                                              ^
0_0_20613642_19732.cpp:6:162: error: expected declaration before '}' token
     n-1) e=n-1;        ans=1;ans<<=60;        for(i=s;i<=e;i++)        {            t=work(i,n);            if(ans>t) ans=t;        }        cout<<ans<<endl;    }    return 0;}
                                                                                                                                                                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 23:29:10, Gzip enabled