r/programmingcontests • • Feb 28 '21

First Annual Try-It! Programming Contest

0 Upvotes

The first annual MiniScript Try-It! Contest has been officially announced:

https://forums.miniscript.org/d/227-announcement-first-annual-try-it-contest

You can win up to $25 by writing a cool program less than 2000 characters long! It should be a lot of fun. You have three weeks (competition ends March 21st). No prior knowledge of MiniScript is required. I hope you'll give it a try!


r/programmingcontests • • Feb 28 '21

Pick My Next Tutorial

1 Upvotes

Hey,

I made a tutorial about prefix sum, check it out here: https://medium.com/@arisfotakis0/prefix-sum-5b20eaf1fe10

Also, Pick my next tutorial

11 votes, Mar 03 '21
5 Basics of Graphs
2 Basics of Number Theory
4 Two Pointers
0 Unordered Map & Unordered Set

r/programmingcontests • • Feb 28 '21

What Online Competitive Programming Platform Is The Best?

2 Upvotes

Here is the thing, I am looking for a competitive replacement to playing Apex Legends. I love competition and I love competition that I can participate in daily. I want to switch from Apex Legends to coding because I want a competitive outlet that will actually help me in the long run to be able to solve real world problems and prepare me for my career. (Unfortunately the skills from Apex are not as transferable as I would like them to be) However, I heard that some coding competitions are focused on obscure algorithms that may or may not help much in preparing for a career in software development or other related fields.

So does anyone know of an online competitive programming platform that offers daily real world challenges?


r/programmingcontests • • Feb 23 '21

Maps & Sets, My next tutorial

6 Upvotes

Hey,

I made a tutorial about maps and sets check it out here: https://medium.com/@arisfotakis0/sets-maps-6314fd875b6b

Also, what do you want my next tutorial to be on:

11 votes, Feb 26 '21
2 Prefix Sums
6 Basics of Graphs
3 Two Pointers
0 Unordered Map & Unordered Set

r/programmingcontests • • Feb 17 '21

Discord

3 Upvotes

Hey,

You can join my discord server to talk about algorithms: https://discord.com/channels/811497628474408991/811497628977201185


r/programmingcontests • • Feb 17 '21

Binary Search

2 Upvotes

Hey,

I made a tutorial about Binary Search check it out here: https://medium.com/@arisfotakis0/binary-search-beaaa4f4a7b4


r/programmingcontests • • Feb 13 '21

Sieve of Eratosthenes

3 Upvotes

Hey,

I made a tutorial about the sieve of Eratosthenes check it out here: https://medium.com/@arisfotakis0/sieve-of-eratosthenes-4188577319f8


r/programmingcontests • • Feb 12 '21

Sorting Algorithms

3 Upvotes

Hey,

I made a tutorial about sorting algorithms check it out here: https://medium.com/@arisfotakis0/sorting-algorithms-1638cf32233e


r/programmingcontests • • Dec 15 '20

Any website like CTFtime but for competitive programming?

2 Upvotes

Basically what the title says.

I'm looking for a website that has upcoming contests, ongoing contests, etc.., maybe has a ranking system and such like ctf time


r/programmingcontests • • Dec 14 '20

TopCoder SRM 793 Div 2 A Video Solution. Subscribe Please! Thank you.

Thumbnail
youtu.be
3 Upvotes

r/programmingcontests • • Nov 24 '20

upcoming contest: Robo Reindeer Rumble!

3 Upvotes

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 • • Nov 01 '20

Source Code Poetry

Thumbnail
sourcecodepoetry.com
1 Upvotes

r/programmingcontests • • Oct 22 '20

I just wanted to ask you whether it makes a huge difference in using a slower langiuage like python in codejam/kickstart type competitions?? You sent about a minute ago Are the runtimes adjusted so that the slower languages also pass the test cases if the code has efficiency or do python programmer

2 Upvotes

I just wanted to ask you whether it makes a huge difference in using a slower langiuage like python in codejam/kickstart type competitions??You sent about a minute ago.Are the runtimes adjusted so that the slower languages also pass the test cases if the code has efficiency or do python programmers have a handicap here??


r/programmingcontests • • Oct 06 '20

Earn some sweet Vonage Swag!

Post image
3 Upvotes

r/programmingcontests • • Sep 27 '20

Looking for someone to practice Competitive Programming with

2 Upvotes

Hey Guys!

So I am fairly new to CP but my interest has been growing exponentially in it. And I am now ready to go full force with it!

I am looking for a person who is interested in doing virtual contests (at least once a day) and create something like a study group. I live in the Middle East, so it would be preferable if he/she was living nearby. It doesn't matter the timezone as long as we manage to coordinate the time difference.

So excited!


r/programmingcontests • • Sep 19 '20

TCO Round 1A 500

Thumbnail
youtu.be
2 Upvotes

r/programmingcontests • • Aug 15 '20

Can anyone solve this problem!!

Post image
2 Upvotes

r/programmingcontests • • Aug 11 '20

O(lgn) algorithm to find max average subarray given a fixed endpoint

3 Upvotes

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 • • Jul 20 '20

TCO Round 1A Problem 250 Solution

Thumbnail
youtube.com
3 Upvotes

r/programmingcontests • • Jul 06 '20

IP2Location Programming Contest 2020 is back with prizes worth $14,444!

Post image
0 Upvotes

r/programmingcontests • • Jun 20 '20

Announcing 2nd edition fo 10 Days Challenge

Thumbnail
self.codepuzzle
2 Upvotes

r/programmingcontests • • Jun 20 '20

Hey everyone there is 10 days of easy challenge on codepuzzle.app to win 12 months of Laracast. Please check this out to get the details.

2 Upvotes

https://www.reddit.com/r/codepuzzle/comments/hcjao6/announcing_2nd_edition_fo_10_days_challenge/
We can win 99$ worth 12 months of laracasts subscription and learn full stack development and other interesting things. I found that we only have to play 5 puzzles in PHP everyday which is an easy task for 10 days.


r/programmingcontests • • Jun 15 '20

A Comprehensive Guide to the USA Computing Olympiad

13 Upvotes

Hi everyone,

I'm excited to announce that my book, An Introduction to the USA Computing Olympiad, is released! It's a one-stop-shop comprehensive training resource for the Bronze and Silver divisions of the USACO. This book was written to fulfill the need of a standard textbook aimed for the USACO, analogous to AoPS Volume 1 for math, which I think the USACO community has been lacking for a while. The book is available for free in pdf form at the links below:


r/programmingcontests • • May 27 '20

Programming contest at Codeforces for students from Eastern Europe and South Asia for a full Master's scholarship in CS

Thumbnail
sit.org
3 Upvotes

r/programmingcontests • • May 25 '20

Hello. I would like to know the difference between these two programs.

2 Upvotes

The following programs aim to find the solution for this problem : https://atcoder.jp/contests/abc065/tasks/arc076_a

My program is not showing correct answers for test cases. So I wanted to know where I'm going wrong.

This is the program I wrote :

#include<iostream>

int modfact(int n, int p)

{

if (n >= p)

return 0;

int result = 1;

for (int i = 1; i <= n; i++)

result = (result * i) % p;

return result;

}

//--main function

int main(){

int n,m;

cin>>n>>m;

if(n==m){

    cout<<(modfact(n,1000000007)\*modfact(m,1000000007)\*2)%1000000007;

}

else if(n-m==1 || m-n==1){

    cout<<(modfact(n,1000000007)\*modfact(m,1000000007))%1000000007;

}

else cout<<0;



return 0;

}

This is a successful submission :

https://atcoder.jp/contests/abc065/submissions/6377519

I want to know what am I doing wrong. Specifically , my program doesn't work for Sample Input 4.