/in/foo.cc:3:30: error: 'string' does not name a type
long long a[2][128],b[128],s;string l;
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:5: error: 'ios' has not been declared
ios::sync_with_stdio(false);
^~~
/in/foo.cc:8:5: error: 'cin' was not declared in this scope
cin>>p>>l;
^~~
/in/foo.cc:8:13: error: 'l' was not declared in this scope
cin>>p>>l;
^
/in/foo.cc:11:48: error: 'memcpy' was not declared in this scope
int x=l[i]-'0';memcpy(a[i%2],b,sizeof b);
^
/in/foo.cc:17:5: error: 'cout' was not declared in this scope
cout<<s<<endl;
^~~~
/in/foo.cc:17:14: error: 'endl' was not declared in this scope
cout<<s<<endl;
^~~~