Pagini recente » Borderou de evaluare (job #2484397) | Borderou de evaluare (job #1439628) | Borderou de evaluare (job #2385615) | Borderou de evaluare (job #825716) | Borderou de evaluare (job #1422026)
Borderou de evaluare (job #1422026)
Raport evaluator
Compilare:
user.cpp: In function ‘int vest(int, int)’:
user.cpp:46:9: warning: unused variable ‘vest’ [-Wunused-variable]
int vest=a[i][j]%2;
^
user.cpp:47:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void check(int, int, int, int, int)’:
user.cpp:72:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
{if(i!=1)
^
user.cpp:85:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i!=n)
^
user.cpp:98:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(j!=1)
^
user.cpp:111:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(j!=m)
^
user.cpp:128:60: warning: ‘jdir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(idir<=100 && jdir<=100 && idir>0 && jdir>0 )
^
user.cpp:128:50: warning: ‘idir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(idir<=100 && jdir<=100 && idir>0 && jdir>0 )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 64ms | 488kb | Incorect | 0 |
Punctaj total | 0 |