SarfarazSapui's blog

By SarfarazSapui, history, 3 days ago, In English

Hi, I am a newbie here. I am comfortable in Python and R(not available here). I use Python for the contests In participated in. When I am looking at the top participants solution after the contest ended they are in other languages. I wanted to ask everyone if you can explain to me what are the coding languages that are helpful for contests and for what reasons.

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
3 days ago, # |
  Vote: I like it 0 Vote: I do not like it

C++, a low-level language, is fast, for working with hardware directly, and it is both memory and time efficient. However, you may keep solving almost every problem with Python, for example, as problems are designed to be solvable by most of the programming languages (except for Kotlin Heroes or other programming language restricting problems).

I also heard that there are LGMs who use Python in contests, so you may be next.

  • »
    »
    2 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thanks.

»
2 days ago, # |
  Vote: I like it +8 Vote: I do not like it

As do CP in python this template can be useful to you. When you use pypy3 it is beneficial to use the below template for fast input.

code template

It is very short, crisp, easy to understand and make changes.

Credits (i.e. I copied it from) : alxwen711