In this article
On the HackerRank Coding environment, most of your programs require to read input and write the output using the Standard Input stream (STDIN) and the Standard Output stream (STDOUT) methods. You must use the language-specific input and output statements in your code. For example, if you are coding in C, you must use the scanf() statement to read input into your program and printf() to write the output.
Please refer to Using STDIN for Inputs and STDOUT for Outputs article to understand how STDIN and STDOUT works.
Article is closed for comments.