
For the midtem this year you will participate in a Kattis programming contest.
Here are the instructions. Please follow carefully:
- When you create your account, you must set it to hide your username. Make sure the following boxes are not checked on the setting page. If you already sigened up, click on your name on the upper right corner, and select “profile settings”. The options below are at the bottom on the page.

- The contest is now published, and you can join anytime. You can start Oct 3 at 8:00 am.
- You must register with a team name that does not identify you (per FERPA rules). When you join the contest you will need to give a team name. This is the name that will show up on the standings page. Make sure no one knows it is you.
- You must turn in your team name here: MoodleLink before you start
- The contest can be found at this link.
- The contest starts: Tue Oct 03 2023 08:00:00 and ends: Sun Oct 08 2023 19:00:00
- Once you start the contest, you have 80 hours to complete
- You can use you text, notes, and online resources.
- You CANNOT use other people, or websites that contain the complete solution.
- The contest is 5% of your overall grade.
- You grade will be determined by how many problems you solve (e.g. they pass the tests)
Some hints:
How to get multiple inputs on a single line:
# taking three inputs at a time
x, y, z = input("Enter three values: ").split()
If the inputs are integers, you can use the int() function to convert each.
How to process a string one character at a time:
s=input("Enter a string: ")
for c in s:
print(c)
Output:
Enter a string: Kenyon K e n y o n
Have fun!
