Mã chấm: 39008
Main.cc: In function ‘int main()’: Main.cc:8:5: error: ‘string’ was not declared in this scope string a,b; ^~~~~~ Main.cc:8:5: note: suggested alternative: ‘stdin’ string a,b; ^~~~~~ stdin Main.cc:9:5: error: ‘cin’ was not declared in this scope cin>>a>>b; ^~~ Main.cc:9:5: note: suggested alternative: ‘sin’ cin>>a>>b; ^~~ sin Main.cc:9:10: error: ‘a’ was not declared in this scope cin>>a>>b; ^ Main.cc:9:13: error: ‘b’ was not declared in this scope cin>>a>>b; ^ Main.cc:11:12: error: expected ‘;’ before ‘tmp’ string tmp=""; ^~~ Main.cc:13:9: error: ‘tmp’ was not declared in this scope tmp+=a; ^~~ Main.cc:13:9: note: suggested alternative: ‘bcmp’ tmp+=a; ^~~ bcmp Main.cc:15:8: error: ‘tmp’ was not declared in this scope if(tmp==b) cout<<"YES"; ^~~ Main.cc:15:8: note: suggested alternative: ‘bcmp’ if(tmp==b) cout<<"YES"; ^~~ bcmp Main.cc:15:16: error: ‘cout’ was not declared in this scope if(tmp==b) cout<<"YES"; ^~~~ Main.cc:15:16: note: suggested alternative: ‘cosl’ if(tmp==b) cout<<"YES"; ^~~~ cosl Main.cc:16:10: error: ‘cout’ was not declared in this scope else cout<<"NO"<