This is the blog of site xoptutorials.com. All the news will be posted here and on the facebook page of xoptutorials.
Pages
▼
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.
No comments:
Post a Comment