B
B
bellau2014-04-22 22:45:48
C++ / C#
bellau, 2014-04-22 22:45:48

C++ or Pascal for an Olympiad student?

I would like to participate in programming olympiads (competitions). Which tool is better - Pascal or C++?
Please answer as detailed as possible.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexP11223, 2014-04-22
@bellau

C++ because there is a standard library, STL, etc. and there is no need to invent bicycles such as sorting or a hash table, which can save a lot of time. Well, if the rules are not limited.

T
tsarevfs, 2014-04-23
@tsarevfs

Java is well suited for olympiads. Pascal has a very weak standard library. C++ is a good language and you can write efficient programs in it. However, this requires really great experience and deep knowledge of the language. It's very likely that you'll spend a lot of time fixing bugs that don't occur in Java. For example, the vast majority of ITMO Olympiads write in Java.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question