Mock CCC '19 Contest 1 J1 - Pusheen's Report Card

View as PDF

Submit solution


Points: 3 (partial)
Time limit: 1.0s
Memory limit: 1G

Problem type

Pusheen recently got her report card back! Pusheen took two classes last semester, CS452 and PHIL145. She was rather burnt out from all the critical thinking and real-time programming that she had to do, so she needs your help to figure out which one she did better in.

Constraints

0 \le A \le 100

0 \le B \le 100

In tests worth 14 marks, A = B.

Input Specification

The first line of input contains a single integer, A, Pusheen's mark in CS452.

The second line of input contains a single integer, B, Pusheen's mark in PHIL145.

Output Specification

Output, on a single line, which course Pusheen did better in. If she did equally well in both courses, do not output anything.

Sample Input

100
0

Sample Output

CS452

Sample Explanation

Pusheen was really good at real-time programming but clearly had problems with critical thinking, so she got a 100 in CS452 and a 0 in PHIL145, and thus did better in CS452.


Comments


  • 0
    megnjk25303  commented on May 10, 2024, 11:23 p.m.

    I almost got a heart attack from how many test cases there were


  • -3
    oscarhuang885  commented on Oct. 4, 2022, 11:58 p.m.

    How does a cat get a report card?


  • 1
    Mystical  commented on June 7, 2022, 4:25 p.m.

    Why does this problem have so many test cases?


  • 1
    Aetheryx_George  commented on Feb. 14, 2022, 5:22 a.m.

    When I submit my code, it tells me to check my whitespace, but when I check it in my IDE it looks fine. I am not sure what I should do. https://dmoj.ca/src/4326573


    • 1
      Spitfire720  commented on Feb. 14, 2022, 12:47 p.m.

      Whitespace counts as something.


  • 0
    candyappled  commented on Oct. 5, 2021, 6:11 p.m.

    Why does the code I submitted show WA when it works on a C++ compiler like Replit?


    • -1
      Nils_Emmenegger  commented on Oct. 5, 2021, 9:47 p.m.

      If she did equally well in both courses, do not output anything

      Outputting a blank line (i.e. cout << endl in C++) != outputting nothing


    • -4
      Itachi  commented on Oct. 5, 2021, 9:02 p.m.

      Did you test every possible input in Replit? Or did you only test a handful before incorrectly coming to the conclusion that your code is correct?