class Program { static void Main(string[] args) { using (var output = new CC.BP.FormattedStreamWriter(Console.OpenStandardOutput())) using (var input = new CC.BP.BufferedStreamReader(Console.OpenStandardInput())) new CC.ConcreteSolver(input, output).Do(); }
public static long Long(this BufferedStreamReader reader) { return(long.Parse(reader.ReadToken(), CultureInfo.InvariantCulture)); }
public static uint UnsignedInt(this BufferedStreamReader reader) { return(uint.Parse(reader.ReadToken(), CultureInfo.InvariantCulture)); }
public static string String(this BufferedStreamReader reader) { return(reader.ReadToken()); }
public static decimal Decimal(this BufferedStreamReader reader) { return(decimal.Parse(reader.ReadToken(), CultureInfo.InvariantCulture)); }
public static double Double(this BufferedStreamReader reader) { return(double.Parse(reader.ReadToken(), CultureInfo.InvariantCulture)); }