Pagini recente » Borderou de evaluare (job #2521875) | Borderou de evaluare (job #634474) | Borderou de evaluare (job #1321495) | Borderou de evaluare (job #77868) | Borderou de evaluare (job #1307708)
Borderou de evaluare (job #1307708)
Raport evaluator
Compilare:
user.cpp: In function ‘void ver(int, int)’:
user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i>1&&i<n&&ch[i-1][j]!=200000&&ch[i+1][j]!=200000) if(ch[i-1][j]!=ch[i+1][j])
^
user.cpp:68:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i>1&&j<m&&ch[i-1][j]!=200000&&ch[i][j+1]!=200000) if(ch[i-1][j]!=ch[i][j+1])
^
user.cpp:118:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i>1&&j>1&&ch[i-1][j]!=200000&&ch[i][j-1]!=200000) if(ch[i-1][j]!=ch[i][j-1])
^
user.cpp:168:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i<n&&j>1&&ch[i+1][j]!=200000&&ch[i][j-1]!=200000) if(ch[i+1][j]!=ch[i][j-1])
^
user.cpp:218:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i<n&&j<m&&ch[i+1][j]!=200000&&ch[i][j+1]!=200000) if(ch[i+1][j]!=ch[i][j+1])
^
user.cpp:268:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(j>1&&j<m&&ch[i][j-1]!=200000&&ch[i][j+1]!=200000) if(ch[i][j-1]!=ch[i][j+1])
^
user.cpp: In function ‘int main()’:
user.cpp:351:9: warning: unused variable ‘ms’ [-Wunused-variable]
int ms=maxim;
^
user.cpp:324:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
user.cpp:328:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&cx);
^
user.cpp:331:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&cx);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 844kb | OK | 10 |
4 | 0ms | 788kb | OK | 10 |
5 | 0ms | 660kb | OK | 10 |
6 | 0ms | 360kb | OK | 10 |
7 | 0ms | 636kb | Incorect | 0 |
8 | 0ms | 348kb | Incorect | 0 |
9 | 0ms | 376kb | OK | 10 |
10 | 0ms | 924kb | Incorect | 0 |
Punctaj total | 60 |