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

View as PDF

Submit solution

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

Problem type
Allowed languages
Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, CommonLisp, D, Dart, F#, Forth, Fortran, Go, Groovy, Haskell, Intercal, Java, JS, Kotlin, Lisp, Lua, Nim, ObjC, OCaml, Octave, Pascal, Perl, PHP, Pike, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Text, Turing, VB, Zig

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 3 units and an extra-cheesiness of at least 95\%.
  • C.C. will be fairly satisfied if the pizza she gets has a width of 1 unit and an extra-cheesiness of at most 50\%.
  • C.C. will be very satisfied for any other pizza she receives.

Input Specification

The first line of input will contain a single integer W (1 \le W \le 3), denoting the width of the pizza C.C. receives.

The second line of input will contain another integer C (0 \le C \le 100), 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, M is a string describing her satisfaction, which will be one of: absolutely, fairly or very.

Sample Input


Sample Output

C.C. is very satisfied with her pizza.


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


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

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