## DMOPC '16 Contest 1 P0 - C.C. and Cheese-kun

View as PDF

Points: 3 (partial)
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

One summer evening, while curled up with her beloved Cheese-kun plushie, C.C. begins craving pizza. Although she would really like a large, extra-cheesy pizza, her stomach is willing to settle for anything. Without hesitation, she snatches up Lelouch's credit card and makes a very important phone call…

• C.C. will be absolutely satisfied if the pizza she gets has a width of units and an extra-cheesiness of at least .
• C.C. will be fairly satisfied if the pizza she gets has a width of unit and an extra-cheesiness of at most .
• C.C. will be very satisfied with any other pizza she receives.

#### Input Specification

The first line of input will contain a single integer , denoting the width of the pizza C.C. receives.

The second line of input will contain another integer , representing the percentage of the pizza covered in extra cheese.

#### Output Specification

A single line containing C.C.'s satisfaction with her order in the form: C.C. is M satisfied with her pizza.

Make sure your output matches this exactly, including any spacing and punctuation.

Here, is a string describing her satisfaction, which will be one of: absolutely, fairly or very.

#### Sample Input

2
70

#### Sample Output

C.C. is very satisfied with her pizza.

#### Explanation

The pizza has a width of units and a cheesiness of . Since C.C. is neither absolutely nor fairly satisfied, she is very satisfied.

• commented on Jan. 7, 2023, 10:35 p.m.

Currently having some issues with test case 4 in the block and test number 7 both are giving me the error that my output is clipped and was wondering if I am formatting something incorrectly. Could use an outside observer on this one

• commented on Nov. 11, 2022, 4:14 p.m.

Typos will be the death of me on this platform. Spent 30 minutes not understanding why my code was wrong until I realized I missed the second . in "C.C.". Added it and passed with flying colors O_o.

• commented on Oct. 29, 2022, 2:05 p.m.

I keep getting WA on the test case 3, could someone help me out?

• commented on Oct. 29, 2022, 8:30 p.m. edited

You need to read the requirements again.

• C.C. will be fairly satified with if the pizza she gets has a width of 1 unit and an extra cheesiness of at MOST 50%. (So it could be less.)
• It is also worth mentioning that any pizza she recieves that do not follow the first two requirements, she will be very satified with no matter what.
• commented on Nov. 27, 2022, 7:07 p.m. edited

Thanks for that. Your second point set me straight. I was being more specific than I had to be. I cast a wider net.

• commented on March 21, 2022, 12:22 p.m.

Make sure to know how to spell. Remember "Absolutely" has an "e" in it

• commented on March 6, 2022, 3:13 p.m.

This comment is hidden due to too much negative feedback. Show it anyway.

• commented on March 7, 2022, 8:54 a.m.

That's because you spelled satisfied wrong.

• commented on Nov. 28, 2021, 1:35 p.m.

c.c best waifu

• commented on Oct. 10, 2018, 5:54 p.m.

I got this question wrong 3 times because I forgot to output one word