You are not logged in. Please login at www.codechef.com to post your questions!

×

Worried with Python as my main language

Hi , I have started competitive coding recently and use python as my language to solve any problem when i first was confronted by a TLE i got to know that nobody actually uses python to code in cp so i am getting worried to shift to different language as i am comfortable with python? please suggest me that can i use python as my main language or shift to c++14

asked 30 May '18, 10:46

dubeysarvesh's gravatar image

1★dubeysarvesh
01
accept rate: 0%


C++ is a great language for competitive programming because of its fast speed, memory management, pointerss etc. Moreover C++ has STL(Standard Temporary Library) which has a great collection of data structures and algorithms and makes many algorithm easier to code. Python is a scripting language, though you can use it for CP(due to its abstract libraries). But python isn't allowed in many CP competitions like IOI. I suggest you shift to C++ in the beginning only as you would be comfortable later. My experience with c++ is great.

link

answered 30 May '18, 10:59

ssp547's gravatar image

3★ssp547
3077
accept rate: 25%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×2,475
×1,918
×1,314
×1,285
×529
×372
×281
×8

question asked: 30 May '18, 10:46

question was seen: 170 times

last updated: 30 May '18, 10:59