Main

Hello, World!

Welcome to the PEG Online Judge. This site was created by members of Woburn Collegiate Institute's Programming Enrichment Group as a resource for competitive programmers everywhere. We also run PEGWiki, a site for information and tutorials of algorithms.

Currently, we have 1220 problems, 595481 submissions, 277 analyses, and support for 15 languages.


Announcements (See All)

FAQ about the migration to DMOJ

by bbi5291 on Jun 24, 2020 - 12:42:23 am UTC
Q: Do I still have to link my PEG account to a DMOJ account?
A: No. We have decided to automatically migrate PEG accounts to DMOJ in order to make the process easier for everyone.

Q: When will the migration of PEG user accounts to DMOJ take place?
A: Shortly after July 31. The exact date has not yet been determined.

Q: I already have an account on DMOJ. Will I have two accounts after the migration?
A: Yes, but after your PEG account has been migrated to DMOJ, you will have the option to merge the two DMOJ accounts into one.

Q: My existing account on DMOJ has the same username as my PEG account. What will happen to my PEG account?
A: Your PEG account will be migrated to a DMOJ account with a username suffix, like "FatalEagle_wcipeg". You will be given the option to merge the two accounts.

Q: Someone else on DMOJ has registered the username that I use on PEG. What will happen to my PEG account?
A: Your PEG account will be migrated to a DMOJ account with a username suffix. You will be able to change the username on DMOJ after the migration has been completed.

Q: My existing DMOJ account uses the same email address as my PEG account. Will this cause any problems?
A: Once your PEG account has been migrated to DMOJ, there will be two accounts on DMOJ with the same email address. You will still be able to log into either account, but you won't be able to reset the password for the account that was migrated from PEG. If you need to do so, you'll have to contact the DMOJ admins.

Q: Can I opt out of the migration?
A: Yes. If you don't want your user data to be transmitted to DMOJ, then log into your PEG account and click "Edit User Info", then select the option to opt out of the DMOJ migration. If you don't do this by July 31, then your account will be migrated, but you will still be able to request account deletion from the DMOJ admins later.

Q: What will happen to my submissions after the migration?
A: As previously stated, we will regrade your C and C++ submissions on DMOJ using the same compiler versions that were originally used to grade them on PEG. Generally, they should run faster on DMOJ than they did on PEG, but we cannot guarantee that 100% of AC submissions will remain AC. Languages other than C and C++ will be rejudged on DMOJ using whatever compiler or interpreter version is available on DMOJ. Again, while we will make every effort to migrate submissions as "accurately" as possible, there are no guarantees.

PEG Judge will shut down at the end of July

by bbi5291 on Jun 07, 2020 - 9:04:29 pm UTC
Hi everyone,

We have decided that the PEG Judge will merge with DMOJ. The reason for this decision is that DMOJ is under more active development and in a better position to support future growth.

The tentative plan for this migration is as follows:
1. DMOJ will give users the ability to link their DMOJ account with a PEG Judge account.
2. On July 31, the PEG Judge will enter read-only mode. No further submissions will be accepted, but users with existing PEG accounts will still have the option to link with a DMOJ account.
3. At some point after July 31, the PEG problem set will be merged into the DMOJ problem set. If you've chosen to link your PEG account with a DMOJ account, your submissions will be automatically migrated to DMOJ. Note that some interactive problems may not be migrated or may take longer to migrate.
4. Migrated submissions will be gradually rejudged on DMOJ. C and C++ submissions will be rejudged on DMOJ using the same GCC version and flags with which they were originally judged on PEG. Other languages will be rejudged using whatever compiler or interpreter version is available on DMOJ (we consider Python 2 and Python 3 to be separate languages).

Note that existing PEG contests, including ratings, will not be migrated to DMOJ.

It has been a great honour to serve the PEG community for more than a decade, and it will be just as great a relief to pass the torch to more capable hands.

Woburn Challenge 2019 Finals Results

by Alex on May 21, 2019 - 7:01:14 am UTC
The Woburn Challenge 2019 on-site finals was our most exciting contest yet! We witnessed 18 teams from 13 schools battle it out for the coveted title of Woburn Challenge Champion. In the end, the top team from University of Toronto Schools took home a senior division victory, thanks to making the most headway on both of the difficult final two problems. Meanwhile, the junior division saw several teams on the cusp of perfect scores, but with only William Lyon Mackenzie C.I.'s team finally able to achieve it and secure their victory!

The senior division prizewinners are:
  • William Li, David Tang, and Andrew Marin of University of Toronto Schools ($250)
  • Keenan Gugeler, Ethan White, and Tony Xia of Waterloo Collegiate Institute ($250)
  • Brian Chau of Woburn Collegiate Institute ($150)
The junior division prizewinners are:
  • Evan Zhang, Yi Deng, and Jeffrey Gao of William Lyon Mackenzie Collegiate Institute ($150)
  • Robert Chung of Woburn Collegiate Institute ($100)
  • Lily Cao, Rayton Lin, and Andrew Xue of Earl Haig Secondary School ($50)
Congratulations! For all online-round prizewinners who could not join us today, we will be getting in contact with your teachers shortly about sending your prizes by mail. We truly hope that you enjoyed tackling all the problems which we have prepared with love. Thanks to all the helping hands that made this event possible, as well as contestants and teachers alike, who stayed with us through to the end of the season. We hope you enjoyed the last round of the season and look forward to bringing you many more exciting challenges in the future!

All of the problems have been cloned to the main judge and can be found here: J1, J2, J3/S1, J4/S2, J5/S3, S4, S5.
Full results, problems, and solutions are now posted at: woburnchallenge.com/past-contests

Pinned Posts


Recent Comments