AMC Banner

Welcome to A Math Contest!

This is a contest to practice competitive programming relating to math. We selected some math topics and prepared some problems to let you learn each of them.

The contest organizer is maxcruickshanks.

The problem setters are BalintR, d, Joelfu, Josh, LogicXD, Lost, Plasmatic, TechnobladeNeverDies, and Tommy_Shan.

Special thanks to Averesoft, ADMathNoob, ChrisT, CPlusPlusEleven, elex, explosion, felixzhang25, KevinWan, kevinyang, Neo, pewpew, ryanguorocket, Snowfall, sortSlave, SuperClash, uselessleaf, WilliamWu277, and yunz_qiao for testing and feedback on the problems.

Special shout-out to bruce and Riolku for providing help on the contest!

The contest will run from July 12th, 00:00 EDT, until July 27th, 00:00 EDT. You will have 15 days to solve 17 problems of roughly increasing difficulty from that of grade 3 curriculum math to university math.

Here are the parameters of the contest:

  • Contest duration: 15 days.
  • Number of problems: 17, full feedback. Each problem is worth 100 points and may have partial marks in the form of subtasks.
  • This contest is not rated.
  • The scoreboard will be public.
  • There will be no submission limit.
  • Problems will be approximately increasing in difficulty. Reading all of the statements is still recommended.
  • Checkers for problems: Unless otherwise specified, standard.
  • It is guaranteed that all problems will be solvable with C++.

Clarification requests for the contest must be routed through the clarification system provided on DMOJ and not through other channels, including but not limited to Slack or Discord. Furthermore, all clarification requests must come in the form of yes/no questions.

Before the contest date, you may wish to check out the tips and help pages.

It is highly recommended to read all of the problems.

We have listed below some advice as well as contest strategies:

  • Remove all extra debugging code and/or input prompts from your code before submitting. The judge is very strict — most of the time, it requires your output to match exactly.
  • Do not pause program execution at the end. The judging process is automated. You should use stdin / stdout to perform input / output, respectively.
  • Python users are recommended to use PyPy 2/3 over Python 2/3 when submitting.


  • 2
    demidenko  commented on July 27, 2022, 3:28 a.m.

    how to open problems???

    • 1
      maxcruickshanks  commented on July 27, 2022, 8:52 p.m.

      The problems have been published—apologies for the delay.

    • 0
      Tony1234  commented on July 27, 2022, 8:23 a.m.

      The problems aren't public yet. For now, click the virtual join button and you can still submit to the problems.

  • 9
    TechnobladeNeverDies  commented on July 14, 2022, 8:21 a.m.

  • 5
    Lost  commented on July 13, 2022, 9:41 p.m.

    enter image description here

  • 5
    Tommy_Shan  commented on July 13, 2022, 12:04 p.m.

    • 2
      Snowfall  commented on July 13, 2022, 10:04 p.m.

      Josh gets #1 on this contest fs

      • 3
        Josh  commented on July 13, 2022, 10:15 p.m.


  • 6
    Plasmatic  commented on July 13, 2022, 12:29 a.m.

    • 0
      JohnstonLiu  commented on July 13, 2022, 12:30 a.m.

      honestly based

  • 14
    X_Ray  commented on July 12, 2022, 8:51 a.m.