Why python programming language takes more time for compilation in codechef...as compared to cpp | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why python programming language takes more time for compilation in codechef...as compared to cpp

The backend programming language used for building the compiler is CPP....for Python it takes some for conversion

20th Jan 2018, 1:59 PM
Rakesh Patil
Rakesh Patil - avatar
1 Answer
+ 3
Python uses an interpreter while c plus plus uses a compiler and interpreter is slower as it processes line by line while compiler processes everything in the background and only outputs when a specific function is called
20th Jan 2018, 2:03 PM
Sanchit Pandey
Sanchit Pandey - avatar