How do the code execute in any Coding Platform?

The concept behind working of an Coding Platform. This would help us to understand the working process happening behind helping our code to compile and execute.

Originally published in en
Reactions 0
911
DT
DT 14 Jan, 2020 | 1 min read

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

 

 

 

0 likes

Published By

DT

DT

Comments

Appreciate the author by telling what you feel about the post 💓

Please Login or Create a free account to comment.