foo.cpp:1:1: error: 'include' does not name a type
include<iostream> include<cstdio> include<cctype> include<cmath>
^
foo.cpp: In function 'int main()':
foo.cpp:8:93: error: 'getchar' was not declared in this scope
if(num<0) return 0-num; return num; } int main() { int i=0; int j=0; while(1) { cc= getchar(); if(cc=='E') break; if(!isalpha(cc)) continue; if(cc=='W') a1[i]++,a2[j]++; if(cc=='L') b1[i]++,b2[j]++; if(a1[i]>=11 || b1[i]>=11)
^
foo.cpp:8:129: error: 'isalpha' was not declared in this scope
if(num<0) return 0-num; return num; } int main() { int i=0; int j=0; while(1) { cc= getchar(); if(cc=='E') break; if(!isalpha(cc)) continue; if(cc=='W') a1[i]++,a2[j]++; if(cc=='L') b1[i]++,b2[j]++; if(a1[i]>=11 || b1[i]>=11)
^
foo.cpp:16:1: error: 'cout' was not declared in this scope
cout<<a1[k]<<':'<<b1[k]<<endl;
^
foo.cpp:16:26: error: 'endl' was not declared in this scope
cout<<a1[k]<<':'<<b1[k]<<endl;
^
foo.cpp:17:1: error: 'cout' was not declared in this scope
cout<<endl;
^
foo.cpp:17:7: error: 'endl' was not declared in this scope
cout<<endl;
^