C++ in Competitive Programming: I/O

Welcome back to my series about Competitive Programming. Here is the introduction in case you missed it. In this post I’ll explain some common idioms to deal with input and output. In C++ a simple task like reading an integer from the standard input can be done in different ways: using streams, C functions or OS-dependant calls. The … Continue reading C++ in Competitive Programming: I/O