Borderou de evaluare (job #1318448)
Utilizator | Data | 15 ianuarie 2015 22:56:21 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:21: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(j==3) {if(x/400000000==0) if(a[x]==1) g<<1<<"\n"; else g<<0<<"\n";
^
user.cpp:31:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x/400000000==1) if(b[x]==1) g<<1<<"\n"; else g<<0<<"\n";
^
user.cpp:32:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x/400000000==2) if(c[x]==1) g<<1<<"\n"; else g<<0<<"\n";
^
user.cpp:33:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x/400000000==3) if(d[x]==1) g<<1<<"\n"; else g<<0<<"\n";
^
user.cpp:34:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x/400000000==4) if(e[x]==1) g<<1<<"\n"; else g<<0<<"\n";}
^
user.cpp:20:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==2) if(c[x]==0) c[x]=1;
^
user.cpp:20:52: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==2) if(c[x]==0) c[x]=1;
^
user.cpp:21:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==3) if(d[x]==0) d[x]=1;
^
user.cpp:21:52: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==3) if(d[x]==0) d[x]=1;
^
user.cpp:22:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==4) if(e[x]==0) e[x]=1;}
^
user.cpp:22:52: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==4) if(e[x]==0) e[x]=1;}
^
user.cpp:26:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==2) if(c[x]==1) c[x]=0;
^
user.cpp:26:52: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==2) if(c[x]==1) c[x]=0;
^
user.cpp:27:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==3) if(d[x]==1) d[x]=0;
^
user.cpp:27:52: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==3) if(d[x]==1) d[x]=0;
^
user.cpp:28:43: warning: array subscript is above array bounds [-Warray-bounds]
if(x/400000000==4) if(e[x]==1) e[x]=0;}
^
user.cpp:28:52: warning: array subscript is above array bounds [-Warray-bounds]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !