Friday, October 3, 2014

ACM 1585. Penguins / Пингвины

 Keep 3 variables which will represent the number of each kind, then process the input, after reading each string check which kind it is and increase the corresponding number by 1 and then output the final answer.


       FULL SOURCE CODE

No comments:

Post a Comment