Pagini recente » Borderou de evaluare (job #1780612) | Borderou de evaluare (job #883847) | Borderou de evaluare (job #2813668) | Borderou de evaluare (job #1077722) | Borderou de evaluare (job #1885407)
Borderou de evaluare (job #1885407)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘bool (*)[2001]’ [-Wformat=]
fscanf(fi,"%s" ,&v[i&1]);
^
user.cpp:29:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(v[i&1][j]!=v[1-i&1][j])
^
user.cpp:37:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(v[1-i&1][j-1]==v[i&1][j])
^
user.cpp:38:39: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i&1][j]=getmin(dp[1-i&1][j-1]+1,getmin(precl[j],precc[j]));
^
user.cpp:41:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[i&1][j]=='1')
^
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&t);
^
user.cpp:22:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:25:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s" ,&v[i&1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 136ms | 456kb | Incorect | 0 | 0 |
2 | 260ms | 456kb | Incorect | 0 |
Punctaj total | 0 |