deathknight - bradendubois/competitive-programming GitHub Wiki

Death Knight Hero

ID: deathknight

Difficulty: 1.9

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, start a total at 0, and read in each of the string, and if it does not contain "CD", increment the total.