if you use the std:: , your code will be more readable and everything will be clear.
You can write std:: and usingnamespace std; together. It will not be cause any errors. But when you didn't write usingnamespace std;, it is necessary to write std:: .