Borderou de evaluare (job #1307706)

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

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(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(ch[i-1][j]!=200000&&ch[i][j+1]!=200000) if(ch[i-1][j]!=ch[i][j+1]) ^ user.cpp:118:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(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(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(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(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
20ms276kbIncorect0
30ms848kbOK10
40ms792kbOK10
50ms664kbOK10
60ms364kbOK10
70ms636kbIncorect0
80ms348kbIncorect0
90ms376kbOK10
100ms916kbOK10
Punctaj total70

Ceva nu functioneaza?