• 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, 142924 developers have submitted to 4601 problems a total of 5292667 times, using 68 languages.

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

  • Blog
  • Events

News

Cheerio Contest 3

WilliamWu277, LeviDanjio, rickyqin005, ShawnChen4 posted on Feb. 2, 2023, 3: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, 12: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. 27, 2022, 11:16 p.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, 4: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!

YAC 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, 11:41 a.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. 19, 2022, 7:20 p.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!

2022 Bayview Secondary School Programming Contest

azeng, ___________________ posted on Dec. 6, 2022, 11:08 p.m. 6

Hi everyone!

BSSPC is back for 2022!

The contest will run from Thursday, December 8th to Monday, December 12th. Participants will have a 3-hour window to complete 8 problems.

The contest will be rated for all participants with under 1900 rating.

For more details, please see the contest page.

Good luck!

DMOPC '22 November Contest

zhouzixiang2004, Riolku, 4fecta posted on Nov. 23, 2022, 11:30 a.m. 0

We hope you enjoyed the DMOPC October... I mean November contest! We saw some new handles in the top 5 contestants this time:

  1. lyrically
  2. tute7627
  3. d
  4. 6aren
  5. noimi

Congrats to these contestants for their exceptional performance! See you soon!


We are back, and excited to announce that the second DMOPC of the new school year will be held this coming weekend!

The contest will run from Friday, November 25th to Monday, November 28th (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 November 25th and 00:00:00 EST of November 29th.

Please see the contest page for more details.

Have fun!!

Lyndon's Golf Contest 1

Dingledooper posted on Nov. 14, 2022, 1:32 a.m. 2

Hi everyone!

On November 18, 2022 12AM EST, DMOJ will host its first-ever code golf contest! Participants will have 4 days to solve a total of 9 code golf style problems. There is only one objective: solve each problem with the shortest possible code.

The contest will be unrated.

See the contest page for more details.

Good luck to all participants!

Yet Another Contest 5

Josh, Nils_Emmenegger, RandomLB posted on Oct. 16, 2022, 8:29 p.m. 0

YAC Banner

Hi everyone!

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

The contest will run from Friday, October 21st to Monday, October 24th. Participants will have a 3-hour window to complete 5 problems.

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

For more details, please see the contest page.

Good luck and have fun!

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

Ongoing contests

COCI '22 Contest 3 Unofficial Mirror
Ends in 8 days 13:09:53.
Mock CCC '23 2 Senior
Ends in 8 days 13:09:53.
Waterloo 2023 Winter Local Unofficial Mirror
Ends in 8 days 13:09:53.
Cheerio Contest 3
Ends in 1 day 13:09:53.

Comment stream Discord

  • III → Mock CCC '18 Contest 3 S4 - A Graph Problem
  • gavin_chen → CCCHK '15 J3 - Queens can't attack me!
  • maxcruickshanks → DWITE '11 R2 #5 - Portals Check
  • maxcruickshanks → Mock CCO '18 Contest 4 Problem 3 - Counterattack
  • maxcruickshanks → DWITE '08 R2 #5 - Water damage
  • Invalid → CCC '00 S2 - Babbling Brooks
  • MrBloc01 → Triple Fat Ladies
  • MrBloc01 → Triple Fat Ladies
  • jishnujetwani → CCC '19 S1 - Flipper
  • KSH → CCC '00 S2 - Babbling Brooks
RSS / Atom

New problems

  • Purple Lemon
  • Waterloo 2023 Winter A - So I’ll Max Out My Constructive Algorithm Skills
  • Waterloo 2023 Winter B - Laser Trap
  • Waterloo 2023 Winter C - Sandpile on Clique
  • Waterloo 2023 Winter D - Link-Cut Tree
  • Waterloo 2023 Winter E - Colourful Tree
  • COCI '22 Contest 3 #1 Estimathon
RSS / Atom

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