运行 ID: 32381

Main.cc: In function ‘int main()’:
Main.cc:19:5: error: expected primary-expression before ‘int’
    (int cnt=a[i][j]+a[i+1][j]+a[i-1][j]+a[i][j+1]+a[i][j-1])/5;
     ^~~
Main.cc:19:5: error: expected ‘)’ before ‘int’
Main.cc:20:12: error: ‘cnt’ was not declared in this scope
    b[i][j]=cnt;
            ^~~
Main.cc:20:12: note: suggested alternative: ‘int’
    b[i][j]=cnt;
            ^~~
            int