Main.cc: In function ‘int main()’:
Main.cc:19:13: error: ‘cout’ was not declared in this scope
cout << "YES" << std::endl;
^~~~
Main.cc:19:13: note: suggested alternative: ‘cosl’
cout << "YES" << std::endl;
^~~~
cosl
Main.cc:19:35: error: ‘endl’ is not a member of ‘std’
cout << "YES" << std::endl;
^~~~
Main.cc:21:13: error: ‘out’ was not declared in this scope
out << "NO" << std::endl;
^~~
Main.cc:21:13: note: suggested alternative: ‘putw’
out << "NO" << std::endl;
^~~
putw
Main.cc:21:33: error: ‘endl’ is not a member of ‘std’
out << "NO" << std::endl;
^~~~
Main.cc:9:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("T");
~~~~~~^~~~~
Main.cc:15:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("X");
~~~~~~^~~~~