0_0_37854840_5735.cpp: In function 'int main()': 0_0_37854840_5735.cpp:74:28: error: 'S' was not declared in this scope if(it!=S.end()) y=*it; ^