Online Judge: Coding Platform
Now, let us understand the way of execution and compilation in any competitive coding platform or in a console
When we code and execute particular file and alternatively do competitive coding, we need to understand how our code works at the background.
We as coder, perform coding on various coding platforms such as:
1. Hacker Block
2. Hacker Rank
3. Code Chef
4. Top Coder
and many others
These coding platforms follow particular pattern while working.
Pattern of Working
Input -> Program File -> Output -> Correct Answer
When the Input File gets executed the “Program File” deals with various errors such as “Compilation Error”, “Syntax Error”, “Runtime Error”, “Time Limit Error” and other required errors in C++.
If the Input File passes all the mentioned errors, then in that case the next processing step is “Output” in which the answers of our program our checked with the already stored answers. If the result matches, then “Correct Answer” is displayed else “Wrong Answer” is displayed.
Working in Console
In Console, System works in a Parallel Way taking Input and giving Output Side-by-Side
Steps to Follow while working in a console
1. Create an Input File
2. Pass an Input File
3. See Output and Write Output in a File
Comments
Appreciate the author by telling what you feel about the post 💓
No comments yet.
Be the first to express what you feel 🥰.
Please Login or Create a free account to comment.