Pagini recente » Monitorul de evaluare | Cod sursa (job #889262) | Cod sursa (job #1084401) | Borderou de evaluare (job #106666) | Borderou de evaluare (job #2502644)
Borderou de evaluare (job #2502644)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:49: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[i][j]>>3)&1)==1 && (a[i][j]&1==1))
~^~~
main.cpp:50:55: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>1)&1==0) && ((a[v[inc].l][v[inc].c]>>3)&1==0))
~^~~
main.cpp:50:92: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>1)&1==0) && ((a[v[inc].l][v[inc].c]>>3)&1==0))
~^~~
main.cpp:67:50: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if((a[lin][col]&1==0) && ((a[v[inc].l][v[inc].c]>>2)&1==0))
~^~~
main.cpp:67:87: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if((a[lin][col]&1==0) && ((a[v[inc].l][v[inc].c]>>2)&1==0))
~^~~
main.cpp:84:55: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>3)&1==0) && ((a[v[inc].l][v[inc].c]>>1)&1==0))
~^~~
main.cpp:84:92: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>3)&1==0) && ((a[v[inc].l][v[inc].c]>>1)&1==0))
~^~~
main.cpp:101:55: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>2)&1==0) && (a[v[inc].l][v[inc].c]&1==0))
~^~~
main.cpp:101:87: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(((a[lin][col]>>2)&1==0) && (a[v[inc].l][v[inc].c]&1==0))
~^~~
main.cpp:18:11: warning: unused variable 'm' [-Wunused-variable]
int n,m,cpromeo,lp,cp,lin,col,nrcamere=0,ctmax,linie,coloana,i,j,cer,inc,sf,max=0,x,pp=1023;
^
main.cpp:18:13: warning: unused variable 'cpromeo' [-Wunused-variable]
int n,m,cpromeo,lp,cp,lin,col,nrcamere=0,ctmax,linie,coloana,i,j,cer,inc,sf,max=0,x,pp=1023;
^~~~~~~
main.cpp:18:46: warning: variable 'ctmax' set but not used [-Wunused-but-set-variable]
int n,m,cpromeo,lp,cp,lin,col,nrcamere=0,ctmax,linie,coloana,i,j,cer,inc,sf,max=0,x,pp=1023;
^~~~~
main.cpp:16:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("castel3.in","r",stdin);
^
main.cpp:17:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("castel3.out","w",stdout);
^
main.cpp:19:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&cer,&n);
^
main.cpp:24:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 2 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Corect | 5 |
| 5 | 2ms | 131kb | Corect | 5 |
| 6 | 3ms | 131kb | Corect | 5 |
| 7 | 5ms | 131kb | Corect | 5 |
| 8 | 3ms | 131kb | Incorect | 0 |
| 9 | 3ms | 131kb | Incorect | 0 |
| 10 | 3ms | 131kb | Incorect | 0 |
| 11 | 4ms | 131kb | Incorect | 0 |
| 12 | 3ms | 131kb | Incorect | 0 |
| 13 | 2ms | 131kb | Incorect | 0 |
| 14 | 3ms | 131kb | Incorect | 0 |
| 15 | 3ms | 131kb | Incorect | 0 |
| 16 | 3ms | 131kb | Incorect | 0 |
| 17 | 2ms | 131kb | Incorect | 0 |
| 18 | 4ms | 131kb | Incorect | 0 |
| 19 | 4ms | 131kb | Incorect | 0 |
| 20 | 6ms | 131kb | Incorect | 0 |
| 21 | 4ms | 131kb | Incorect | 0 |
| Punctaj total | 22 |