|
|
back to boardC# answer using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp4 { class Program { static void Main(string[] args) { int n = Convert.ToInt16(Console.ReadLine()); int s = 2; for (int i = 1; i<=n; i++) { string a = Console.ReadLine(); if (a.Contains("+one")) s += 2; else s++; } if (s == 13) s++; Console.WriteLine(s * 100); } } } |
|
|