Don't encourage bad C++ style.

`using namespace std;` is evil because it eliminates the whole point of namespaces.
In addition, flushing the buffer is not needed so `\n` is enough.