fiftyshades - bradendubois/competitive-programming GitHub Wiki
Fifty Shades of Pink
ID: fiftyshades
Difficulty: 1.5
CPU Time: 1 second
Memory: 1024 MB
Solution
For this, read in each of the N lines, and convert them to lowercase as they're read in. Check the string to see if it contains "pink" or "rose", and if so, increment a tally. At the end, if the tally is non-zero, output it, otherwise "I must watch Star Wars with my daughter".