foo.cpp:1:1: error: 'include' does not name a type
include<iostream>
^
foo.cpp: In function 'int main()':
foo.cpp:13:1: error: 'string' was not declared in this scope
string s;
^
foo.cpp:13:8: error: expected ';' before 's'
string s;
^
foo.cpp:14:1: error: 'cin' was not declared in this scope
cin>>n>>s;
^
foo.cpp:14:9: error: 's' was not declared in this scope
cin>>n>>s;
^
foo.cpp:17:14: error: 'cout' was not declared in this scope
if(judge(a)){cout<<"STEP=0";return 0;} //???????????
^
foo.cpp:32:14: error: 'cout' was not declared in this scope
if(judge(a)){cout<<"STEP="<<c;return 0;} //duang???
^