• DMOJ
  • Home
  • Problems
  • Submissions
  • Users
  • Contests
  • About
    >
    • Status
    • Tips
    • API
    • Github
Log in  or  Sign up

Welcome to the DMOJ: Modern Online Judge!

The DMOJ is a modern contest platform and archive of programming problems. It's also entirely open source.

So far, 151366 developers have submitted to 4775 problems a total of 5569711 times, using 68 languages.

If this is your first visit, please register an account. Then, try the Hello, World! problem.

  • Blog
  • Events

News

DMOPC '22 April Contest

Riolku, 4fecta, yzhao123 posted on April 27, 2023, 5:11 p.m. 0

We hope you enjoyed the first DMOPC in a while! Special congrats to the top 5 contestants this time:

  1. noimi (perfect score!)
  2. kotatsugame
  3. potato167
  4. Rubikun
  5. sansen

As always, see you soon™!


Oops! Looks like we clicked the snooze button one too many times... Anyways, we're finally back with another contest in the DMOPC series!

The contest will run from Friday, April 28th to Monday, May 1st (inclusive of both days).

Anyone with a DMOJ account is welcome to participate, and anyone without one is welcome to register and participate.

Contestants may participate in any 3-hour window between 00:00:00 EDT of April 28th and 00:00:00 EDT of May 2nd.

Please see the contest page for more details.

Have fun!

Max's Anger Contest Series 2

maxcruickshanks posted on April 25, 2023, 7:00 p.m. 0

Thanks for participating!

The top 5 contestants from the contest that win prizes are

  1. thomas_li
  2. xiaowuc1
  3. BucketPotato
  4. thenymphsofdelphi
  5. Josh

The raffle winner is FloppyFish!

See this video for the authenticity of randomness.

We hope to see you again soon!

MACS2 Banner

Hi, everyone (for the second time)!

On Friday, April 28th, 2023, we'll be running the second Max's Anger Contest for this year!

There will be prizes awarded to the top 5 competitors in the contest and a random participant (not in the top 5) with a non-zero score:

  • First place: 3 months of Discord Nitro, 6 months of Discord Nitro Classic, or 12 months of Discord Nitro Basic
  • Second place: 2 months of Discord Nitro, 4 months of Discord Nitro Classic, or 6 months of Discord Nitro Basic
  • Third place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Fourth place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Fifth place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Raffle winner: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic

To redeem your prize after the contest, please join the DMOJ Discord and verify your account belongs to you; then, direct message maxcruickshanks.

You need to join the DMOJ Discord within 3 days after the contest ends to claim your prize.

You can write this contest in any two-hour window between April 28th, 00:00 EDT, and May 1st, 00:00 EDT.

You can find more details about the contest on its contest page.

We hope to see you soon!

Mock CCC Junior 2023

elex, Tommy_Shan, yunz_qiao posted on Feb. 10, 2023, 3:42 a.m. 3

Hello everyone!

We are excited to announce a Mock CCC Junior contest for 2023!

The contest will run from Saturday, February 11th to Tuesday, February 14th (inclusive of both days).

UPDATE: Due to issues with the problem statements, the contest was moved to start on Saturday, and is no longer rated.

Please see the contest page for more details.

Good luck!

Dark mode support

Xyene, d, Ninjaclasher posted on Feb. 8, 2023, 5:00 a.m. 0

Dark mode for DMOJ has been one of the most requested features for a long time — today, we are finally ready to announce an experimental dark mode.

Dark mode screenshot

To activate it, head to your profile edit page and select "Enable experimental features". By default, DMOJ will follow your system theme, but you can override this by explicitly selecting either the light or dark theme.

If you discover any styling issues that haven't already been reported, please add a comment to the GitHub issue tracking dark mode.

Special thanks to d for spearheading this effort!

Cheerio Contest 3

WilliamWu277, LeviDanjio, rickyqin005, ShawnChen4 posted on Feb. 2, 2023, 8:11 p.m. 0

Hello fellow programmers!

Cheerio is back just in time for the CCC!

The contest will run from February 3rd to February 7th (inclusive). Participants will have a 3 hour window to solve 5 problems.

The contest will be rated for users with a rating of under 2200.

More details can be found on the contest page.

We hope to see you soon!

Richmond Hill High School CS Club

Subscribe to contest update emails

Xyene posted on Jan. 2, 2023, 5:00 a.m. 0

DMOJ contest organizers typically send out reminder emails prior to contests. Unfortunately, the checkbox asking for registration at sign-up has been silently broken for the past three years, so if you've created your account in that time, you may not be aware of this functionality (it's fixed now!)

If you're interested in receiving contest update emails, you can sign up for them in your profile page.

DMOPC '22 December Contest

zhouzixiang2004, Riolku, 4fecta, yzhao123 posted on Dec. 28, 2022, 4:16 a.m. 0

Happy new year!! We hope you learned something new from this contest to kickstart your new year! Special congrats to the top 5 contestants:

  1. lyrically (perfect score!)
  2. bruce (perfect score!)
  3. errorgorn
  4. hitonanode
  5. potato167

As promised, lyrically wins one month of Discord Nitro, while bruce and errorgorn each win one month of Discord Nitro Basic! All winners will be sent an email in the coming days, and must reply within 3 days to claim their prize.

As always, see you soon!


Happy holidays!! To ensure that you have a joyful and exciting new year, we are excited to announce that the third DMOPC of the 2022-2023 school year will be held this coming weekend!

The contest will run from Friday, December 30th to Monday, January 2nd (inclusive of both days).

Anyone with a DMOJ account is welcome to participate, and anyone without one is welcome to register and participate.

Contestants may participate in any 3-hour window between 00:00:00 EST of December 30th and 00:00:00 EST of January 3rd.

Please see the contest page for more details.

Good luck!

Max's Anger Contest Series 1

maxcruickshanks posted on Dec. 25, 2022, 9:17 p.m. 3

Thanks for participating!

The top 5 contestants from the contest that win prizes are

  1. xiaowuc1
  2. Geothermal
  3. BalintR
  4. wakaka (rejected the prize)
  5. BucketPotato
  6. NK

The raffle winner is PrimalCode!

See this video for the authenticity of randomness.

We hope to see you again soon!

MACS1 Banner

Hi, everyone (for the first time)!

On Friday, December 30th, 2022, we'll be running the first Max's Anger Contest for this year (and next year)!

There will be prizes awarded to the top 5 competitors in the contest and a random participant (not in the top 5) with a non-zero score:

  • First place: 3 months of Discord Nitro, 6 months of Discord Nitro Classic, or 12 months of Discord Nitro Basic
  • Second place: 2 months of Discord Nitro, 4 months of Discord Nitro Classic, or 6 months of Discord Nitro Basic
  • Third place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Fourth place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Fifth place: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic
  • Raffle winner: 1 month of Discord Nitro, 2 months of Discord Nitro Classic, or 3 months of Discord Nitro Basic

To redeem your prize after the contest, please join the DMOJ Discord and verify your account belongs to you; then, direct message maxcruickshanks.

You can write this contest in any two-hour window between December 30th, 00:00 EST, and January 2nd, 00:00 EST.

You can find more details about the contest on its contest page.

We hope to see you soon!

WOSS Dual Olympiad 2022

SuperMK, Marshmellon posted on Dec. 20, 2022, 4:41 p.m. 5

Hi everyone!

WOSS Dual Olympiad is back for 2022!

The contest will run from December 20th at 3:00 PM EST to December 23rd (inclusive of both days).

The contest consists of both individual rounds and a team round. The individual round is split up into two divisions, junior and senior.

The contest is hosted by WOSS Computer Science Club and WOSS Mathematics Club.

For more details, please see the respective contest pages: Junior, Senior and Team Round.

Good luck!

Yet Another Contest 6

Josh, Nils_Emmenegger, RandomLB posted on Dec. 20, 2022, 12:20 a.m. 0

The winners of the prizes provided by c are

  • The winner of the contest: Vercingetorix with 1 month of Discord Nitro,
  • The two highest placing rated users: skittles1412 and rqi with 1 month of Discord Nitro Basic,
  • Random user: nicky4321 with Steam codes for Sid Meier’s Civilization VI.

All winners have been sent an email and, to claim their prize, must reply to it within 3 days.

Congratulations to all the winners!

YAC Banner

Hi everyone!

Yet another time, this is yet another blog post with yet another announcement that there is yet another opportunity for yet another Yet Another Contest!

The contest will run from Friday, December 23rd to Monday, December 26th. Participants will have a 3-hour window to complete 6 problems.

Note that the contest is not rated for users with at least 2800 rating. This differs from the previous YAC.

Additionally, this contest has prizes courtesy of c! More details can be found on the contest page.

Good luck and have fun!

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 23
  • 24
  • »

Ongoing contests

2023 Asia-Pacific Informatics Olympiad (mirror)
Ends in 3 days 05:46:55.

Comment stream Discord

  • Xyene → CCC '00 S1 - Slot Machines
  • lilfrankster101 → CCC '00 S1 - Slot Machines
  • Nyuu → Hello, World!
  • lilfrankster101 → COCI '18 Contest 4 #1 Elder
  • Xyene → A Times B
  • Nyuu → A Times B
  • maxcruickshanks → PIB '20 P6 - Rotational Top Trees
  • maxcruickshanks → Waterloo 2017 Winter B - Vera and LCS
  • spheniscine → CCC '00 S1 - Slot Machines
  • Josh → Max's Anger Contest Series 2
RSS / Atom

New problems

  • Waterloo 2016 Fall D - Treasure Hunt
  • Waterloo 2016 Fall C - Wizard of Odds
  • Waterloo 2013 Fall B - Java vs. Scheme Smackdown
  • Waterloo 2013 Fall A - Compressed Words?
  • Waterloo 2008 Spring E - Balance
  • Waterloo 2008 Spring A - Trainsorting
  • Waterloo 2005 Winter E - Traditional BINGO
RSS / Atom

fork us on Github | like us on Facebook | help us translate | terms of service |