Sample Problems and Solutions
Try your hand at these problems from previous AIOs.
Problem | Sample solutions |
---|---|
Help the Black Pearl navigate past a narrow isle.
|
C | C++ | Pascal | C# | Java | Python |
Use the transporter beam on your spaceship to grab as many humans as you can.
|
C | C++ | Pascal | C# | Java | Python |
Model the effects of an oil spill over time.
|
C | C++ | Pascal | C# | Java | Python |
Solutions to the problems from AIO 2021 can be found below. You can try them out on the training site.
You can read a detailed write-up here.
Problem | Editorial |
---|---|
Help Irene finish programming her robot.
|
Solution write-up |
Cover up the holes in the wall with a well-placed poster.
|
Solution write-up |
Use your programming skills to manufacture the most mesmerizing melody you can.
|
Solution write-up |
Help the hippos plan a socially distanced banquet.
|
Solution write-up |
Work with the AIOC to plan a record breaking space mission.
|
Solution write-up |
Help Cameron with his laser-cutter conundrum.
|
Solution write-up |
You can also find solutions to the first four problems from AIO 2019 below.
You can read a detailed write-up here.
Problem | Sample solutions |
---|---|
Find a nice way to arrange your flowers.
|
C++ | Python |
Score many points with your superior rock paper scissors play.
|
C++ | Python |
Help a secluded monastery optimise their hiring decisions.
|
C++ (50 marks) | Python (50 marks) | C++ (100 marks) | Python (100 marks) |
Produce venomous snakes for Medusa's diabolical purposes.
|
C++ | Python |