Main.cc: In function 'int main()': Main.cc:18:20: error: 'f' was not declared in this scope f(a[i][j]==b[i][j])sum+=100/n*m; ^