foo.cpp:1:1: error: 'include' does not name a type
include<iostream> include<string> include<math.h> include<algorithm> include<stdio.h>
^
foo.cpp: In function 'int main()':
foo.cpp:13:1: error: 'cin' was not declared in this scope
cin>>a[i];
^
foo.cpp:21:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
^
foo.cpp:21:39: error: 'cout' was not declared in this scope
if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
^
foo.cpp:21:54: error: 'endl' was not declared in this scope
if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
^
foo.cpp:26:1: error: 'cout' was not declared in this scope
cout<<a[i];
^
foo.cpp:28:14: error: 'cout' was not declared in this scope
if(s%11==10) cout<<'X';
^
foo.cpp:29:6: error: 'cout' was not declared in this scope
else cout<<s%11;
^