0_0_39099695_606.cpp:2:20: error: expected ';' before 'bool' 2 | using namespace std | ^ | ; 3 | bool legal(string s) { | ~~~~