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_29079105_19663.cpp:2:2: error: stray '#' in program
 य़ܿ 
  ^
0_0_29079105_19663.cpp:2:9: error: stray '#' in program
 य़ܿ 
         ^
0_0_29079105_19663.cpp:4:2: error: stray '#' in program
 ໏ֺғ
  ^
0_0_29079105_19663.cpp:4:9: error: stray '#' in program
 ໏ֺғ
         ^
0_0_29079105_19663.cpp:4:16: error: stray '#' in program
 ໏ֺғ
                ^
0_0_29079105_19663.cpp:2:3: error: expected unqualified-id before numeric constant
 य़ܿ 
   ^
0_0_29079105_19663.cpp:2:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_29079105_19663.cpp:2:10: error: expected unqualified-id before numeric constant
 य़ܿ 
          ^
0_0_29079105_19663.cpp:2:10: error: expected constructor, destructor, or type conversion before numeric constant
0_0_29079105_19663.cpp:4:3: error: expected unqualified-id before numeric constant
 ໏ֺғ
   ^
0_0_29079105_19663.cpp:4:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_29079105_19663.cpp:4:10: error: expected unqualified-id before numeric constant
 ໏ֺғ
          ^
0_0_29079105_19663.cpp:4:10: error: expected constructor, destructor, or type conversion before numeric constant
0_0_29079105_19663.cpp:4:17: error: expected unqualified-id before numeric constant
 ໏ֺғ
                 ^
0_0_29079105_19663.cpp:4:17: error: expected constructor, destructor, or type conversion before numeric constant
0_0_29079105_19663.cpp:6:8: error: expected constructor, destructor, or type conversion before '(' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
        ^
0_0_29079105_19663.cpp:6:56: error: expected constructor, destructor, or type conversion before '(' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
                                                        ^
0_0_29079105_19663.cpp:6:202: error: expected constructor, destructor, or type conversion before '(' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
                                                                                                                                                                                                          ^
0_0_29079105_19663.cpp:6:233: error: 'f' does not name a type
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
                                                                                                                                                                                                                                         ^
0_0_29079105_19663.cpp:6:250: error: expected constructor, destructor, or type conversion before '(' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
                                                                                                                                                                                                                                                          ^
0_0_29079105_19663.cpp:6:461: error: expected constructor, destructor, or type conversion before '(' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    return 0; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
0_0_29079105_19663.cpp:6:526: error: expected declaration before '}' token
     rep(i,1,n)scanf("%d%d%d",&a[i],&b[i],&c[i]);    rep(i,1,n){        assert(0<=a[i]&&a[i]<=1000000000);        assert(0<=b[i]&&b[i]<=1000000000);        assert(0<=c[i]&&c[i]<=1000000000);    }    rep(i,0,n)rep(j,0,n)f[i][j]=0;    f[0][0]=m;    rep(i,0,n-1)rep(j,0,i)if(f[i][j]){        f[i+1][j]=max(f[i+1][j],f[i][j]+c[i+1]);        if(min(f[i][j],b[i+1]*1ll)>a[i+1])            f[i+1][j+1]=max(f[i+1][j+1],min(f[i][j],b[i+1]*1ll)a[i+1]+c[i+1]);    }    per(i,n,0)if(f[n][i]){        printf("%d\n",i);        return;    } } int main(){    int t;scanf("%d",&t);    assert(1<=t&&t<=50);    while(t--)Main();    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-12-01 10:50:26, Gzip enabled