#include //#include using namespace std; int main(){ int n,m,ans;cin >>n >>m; int a[n*m]; for (int i = 0; i < n*m; i++){ if(a[i]=='W') ans++; } }