Borderou de evaluare (job #1307708)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 2 ianuarie 2015 18:15:26
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

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
10ms252kbOK10
20ms272kbIncorect0
30ms844kbOK10
40ms788kbOK10
50ms660kbOK10
60ms360kbOK10
70ms636kbIncorect0
80ms348kbIncorect0
90ms376kbOK10
100ms924kbIncorect0
Punctaj total60

Ceva nu functioneaza?