-
Kattis is not happy. Can you make Kattis happy?
Interaction
You have 10 different actions you can do:
-
Pour 10 ml of milk infront of Kattis.
-
Pet Kattis (Softly)
-
Pet Kattis (Hard).
-
Say “Meow” to Kattis.
-
Make Kattis wear some sick cat clothes.
-
Give Kattis a high-five.
-
Watch cat-videos on Youtube together Kattis. (For example this video which Joshua has linked on his Discord)
-
Use a laserpointer and get Kattis to chase it.
-
Feed Kattis some cat candy.
-
Give Kattis some catnip.
You can do up to 20 actions after eachother. You are allowed to repeat the same actions. To preform an action, output the action’s number on a single line. For example, to pet Kattis softly, and then pour 10 ml of milk infront of Kattis, you’ll have to output 2 on a line, and then 1 on a seperate line. Make sure not to write too many actions on a single line. You do not want to make Kattis even more sad.
Your actions will be preformed one after another. If you manage to make Kattis upset to some specific degree, then your program will get terminated and you get Wrong Answer immediately. You will also get Wrong Answer if you write something that is not one of the 10 mentioned alternatives, since exact these 10 options are the only options that Kattis might like.
When you manage to make Kattis happy, your remaining actions will get ignored.
Make sure to flush the output after each action, otherwise you can get Time Limit Exceeded. In C++ this can be done using cout << flush; or fflush(stdout); in Python with stdout.flush(), and in Java with System.out.flush();.
Group
Point value
Constraints
$1$
$100$
Make Kattis happy.
-
-
To solve the problems, you can either start a virtual contest or register for regular practice. A virtual contest simulates a participation in the original contest with a duration of 02:00:00, while regular practice lets you submit solutions without any constraints.
You must log in to register. - A Accelerated Learning
- D Divisibility test
- E Easy Query
- F Fact Check
- G Open Wide
- H High Noon
- K You wouldn't kill a kitten
- M Make Kattis Happy
- P Problemhunt?
- S Solution Presentation