Pre-Competition Beginner Workshop
Presented by
Link to slides:
Link to guide:
What is a competitive programming contest?
“Competitive programming is solving well-defined problems by writing computer programs under specified limits.”
What’s the contest like?
Scoring
More details in the guide!
In case of same number of problems solved,
What does the contest page look like?
Checkpoint 1
Access your Kattis Account
How do I access Kattis?
You already had a Kattis account associated with the email address that you registered with.
You did not have a Kattis account associated with the email address that you registered with.
How do I access Kattis?
Kattis
The contest platform
Step 1: The Problem
What do problems look like?
Sample test cases
Problem Statement
I/O Description
Submit button
Step 2: Coding the Solution
What language can I code in?
We recommend C++ for competitive programming:
Other alternatives: Java and Python
Editor/Compiler Set up
Editor/Compiler Set up
Step 3: Submitting the Solution
What does a submission portal look like?
1. Upload your file here
2. Make sure programming language is correct
3. Submit!
What does a verdict look like?
Hidden test cases!
How do I know what’s wrong with my solution?
More details in the guide!
Error Messages
AC | Accepted | Congratulations! Your submitted solution is correct! |
WA | Wrong Answer | Your submitted solution doesn’t pass one of our test cases |
TLE | Time Limit Exceeded | Your submitted solution was too slow |
CE | Compiler Error | Your submitted solution failed to compile |
RTE | Run Time Error | Your submitted solution had an error while running |
OLE | Output Limit Exceeded | Your submitted solution had too much output |
MLE | Memory Limit Exceeded | Your submitted solution used too much memory |
Summary
Step 1:
Read the problem
Step 2:
Code a solution
Step 3:
Submit your solution
to receive judgement
Summary
Common Mistakes to Avoid
Note:
You are free use to functions in your solution, however the function must not be the only thing in your solution. Your program must have a main routine!
Common Mistakes to Avoid
FAQ
If you encounter any issues during the contest...
Checkpoint 2
Sample Contest
Sample Contest
What’s the contest like?
Don’t worry! We will look at a sample problem soon, and you will have the opportunity to submit solutions to a sample problem at the end of this workshop!