Aggie Competitive Programming Contest

The perfect event for students to show off and test their problem-solving skills through programming. Snacks, food, and prizes included!

May 13, 2023 10 am ~ 4 pm



Rules and Contest Format

  1. Have fun!
  2. The contest will last 3 hours.
  3. Each team will use one laptop.
  4. It is allowed to bring any printed material to the contest.
  5. The usage of Internet during the contest is allowed.
  6. However, messaging/chatting over any device is against the rules.
  7. Details on how to submit your solutions will be provided before the contest during a practice session.


Frequently Asked Questions

  • No, it is not necessary. You can work alone or in groups of two. However, space will be prioritized for people who already have a teammate. When registering, you have the option to have us pair you with a teammate.

  • The event will take place on May 13 from 10 am to 4 pm at room 1010 in the Teaching and Learning Complex on the UC Davis campus.

  • None is necessary! We recommend having basic programming knowledge.

  • Java, C++, C, Python, and much more! See here for more information:

  • In the beginning of the event, we will have a 30-minute practice session. During that time, the participants will have an opportunity to gain familiarity with the environment Codeforces that we will use.

  • All details about the contest will be provided during the first 30 minutes of the event.

  • Each team will have to bring one laptop. Please bring a charger. You may bring a notebook, notes, pens, and pencils. We will provide the problems printed out.

  • A meal will be provided during the contest. Before and after the contest there will be snacks and drinks.

  • Slots for teams will be filled up on a first-come-first-serve basis, so we suggest registering as soon as possible. If the slots are filled up, you will be placed on the waitlist. We will let you know whether your team's spot is secured or if your team is on the waitlist by April 24th.

  • Alice and Bob play a game. Alice thinks of two positive integers A and B, A <= B, and Bob has to report how many integers between A and B, inclusive, are divisible by 10. Help Bob and write a program that solves this question.

    Hese is a solution coded in C++:

    #include <iostream>
    using namespace std;
    int main() {
    	int A, B;
    	cin >> A >> B;
    	int ret = B / 10 - (A - 1) / 10;
    	cout << ret << endl;
    	return 0;

Sponsors and Partners


Slobodan Mitrović

Theodore Pan

Reed Bertolotti

Masaki Takeuchi

Noah Krim

Nivita Reddy

Raj Bapat

Reina Itakura

Dipak Ghosal

Jenny Verschuur

Meshell Louderman




Rm 1010, 482 Hutchison Dr, Davis, CA 95616