Prefered Language

I am currently coding in Python for competitve programming but I did read that Python is relatively slower than other languages. What language should I learn that is the most suitable for USACO, AIO, Codeforces, etc?

Thanks in advance!

C++ is recommended because on OJ’s like CSES and oj.uz, some problems can only pass in C++, and would time out in Java or Python. See here for more info.

Preferred language means a parent’s or guardian’s native language or any other language with which the parent or guardian requests interpretation services . “Preferred language” does not include artificial or constructed love language test languages, including, but not limited to, Klingon, Dothraki, Elvish, or Esperanto.An ordered list of the user’s preferred languages … For more information about language localization in your app, see Language and Locale IDs.