r/programmingcontests • u/Zexsoft • Apr 13 '22
r/programmingcontests • u/adritandon01 • Mar 20 '22
Java or Python? (I know you've heard this question a million times but consider my case first)
So I'm a college student studying AI & ML. I have only started with competitive programming. I usually code in Python since that's the preferred language for AI and Machine Learning. However, when it comes to Data Structures and Algorithms, I can code a little in Java but not in Python. I have seen people who are studying the same subjects as I am, use Python for coding competitions, and I know that it's not recommended but it makes things a hell of a lot easier and less complicated learning and mastering only one language. Not to mention the fact that I forget the basics of one language if I start working on the other and vice versa. Should I just start coding in Python for competitions instead of trying to work on both languages?
r/programmingcontests • u/m3ga_n00b • Jan 28 '22
How does the difficulty level of codejam compare to icpc?
Which one of the two is harder to win/get a good rank in or more impressive of a win?
r/programmingcontests • u/ArisFota • Feb 17 '21
Discord
Hey,
You can join my discord server to talk about algorithms: https://discord.com/channels/811497628474408991/811497628977201185
r/programmingcontests • u/ArisFota • Feb 13 '21
Sieve of Eratosthenes
Hey,
I made a tutorial about the sieve of Eratosthenes check it out here: https://medium.com/@arisfotakis0/sieve-of-eratosthenes-4188577319f8
r/programmingcontests • u/ArisFota • Feb 12 '21
Sorting Algorithms
Hey,
I made a tutorial about sorting algorithms check it out here: https://medium.com/@arisfotakis0/sorting-algorithms-1638cf32233e
r/programmingcontests • u/da_grt_aru • Dec 14 '20
TopCoder SRM 793 Div 2 A Video Solution. Subscribe Please! Thank you.
r/programmingcontests • u/JoeStrout • Nov 24 '20
upcoming contest: Robo Reindeer Rumble!
I'm organizing a programming contest around the "Robo Reindeer Rumble" game, in which you program your robot reindeer to defeat five opponents in a snowy holiday arena. The game and instructions are found here: https://miniscript.org/RoboReindeer/index.html

To help with planning the contest, I'd love to hear from anyone who might want to participate in the contest, or watch the live event. If that describes you, please fill out this short Google form: https://forms.gle/uUtt9cM8Fv7ZSTvYA
(Note that the email question is optional; provide an email only if you want me to use it to notify you when the contest begins.)
r/programmingcontests • u/RSam25TG • Aug 11 '20
O(lgn) algorithm to find max average subarray given a fixed endpoint
Consider an initially empty array arr. Two types of operation will be done on this array. In the first type, we will be given a positive integer and we will add it to the end of the array. In the second type, we will be given two integers l and r, and we will have to find an index within range l to r such that a sub array starting at that index and ending at the end of the array has maximum average. Given that the total number of operations <= 200 000, how can we solve this problem?
0 <= arr[i] <= 109
Time limit: 3s.
r/programmingcontests • u/da_grt_aru • Jul 20 '20
TCO Round 1A Problem 250 Solution
r/programmingcontests • u/Travellingrussian • May 27 '20
Programming contest at Codeforces for students from Eastern Europe and South Asia for a full Master's scholarship in CS
r/programmingcontests • u/KrishnaAgarwalFeb1 • May 24 '20
Codeforces round #644 Div 3 Tutorial
r/programmingcontests • u/erjcan • Nov 14 '18
Where can I find mentor to teach me to crack competitive coding tasks? I want to be red top coder
I m 28yo. CS bachelor, with weak algorithm skills, I want to work in Google and need to upgrade my coding skills.
I know about "cracking the coding interview" book. Very often I can't find a solution and sit for hours on somewhat easy problems from Topcoder, codechef, codeforces etc. I feel I need a mentor to train my mind to task those coding algo interview questions. Where to find one?
r/programmingcontests • u/RedGreenCode • Apr 18 '17
Programming contests, coding contests ... do we really need both?
r/programmingcontests • u/markroth8 • Nov 09 '24
The original ChipWits turns 40 this month (!), and so we posted a special programming contest in classic Mac 1-bit theme on our ChipWits Steam game. The challenge is to eat 40 candles in as few cycles as possible. To make things tricky, you start facing a random direction...
r/programmingcontests • u/Ok-Preference571 • Oct 10 '23
Asking for Advice please
Hello everyone, I'm just starting out in programming, and I was hoping to get some advice on improving my portfolio. I have some experience with JavaScript, React, Node.js, Express, MongoDB, Python, and a few associated libraries. Your guidance would be greatly appreciated.
r/programmingcontests • u/[deleted] • Oct 03 '23
What other activities do you do that, in some ways, significantly enhances your skills or capacity in Competitive programming?
I mean, I just noticed that in physical sports, it's usually in discussions of how beneficial, cross-training is. However, I don't think the idea of cross-training has, in any way, been a point of fruitful discussion in serious mind sports training regimen like competitive programming
I was just thinking whether you are also engaged in other activities that you think tremendously helps you in Competitive programming?
r/programmingcontests • u/lorenzotinfena • Aug 08 '23
Golang template for competitive programming
r/programmingcontests • u/Present_Light3964 • Apr 05 '23
Hosting a hackathon on 7th and 8th April
oberoi-is.orgHi i’m hosting a hackathon for middle school and high school students. Just wanted to put it out there in case any of u are looking for a chance to add to your resume/application and win exciting cash prizes
r/programmingcontests • u/Almighty_shivA1 • Feb 08 '23
The meaning of lexicographical order
Here I was trying to solve problem B - Qualification Contest I'm still new to this competitive programming stuff
but I have difficulty in reading this definition of lexicographical order. I know what lexicographical order means Lexicographical order is nothing but the dictionary order or preferably the order in which words appear in the dictionary. But it is explained as a professional sci fi film in some technical language here.
Within the editorial the answer is quite simple
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n, k;
cin >> n >> k;
vector<string> a;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
if (i < k) a.push_back(s);
}
sort(a.begin(), a.end());
for (string s : a) cout << s << '\n';
}Considering I'm a newbie and have a little bit of programming experience can somebody explain to me what approaches I should use to solve this problem

r/programmingcontests • u/[deleted] • Feb 04 '23
CP Noob
Hello Guys! I am new to Competitive Programming and want to explore it. Any suggestions on how to start?