Submission #890704


Source Code Expand

using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;


class Program
{
    public void Proc()
    {
        Reader.IsDebug = false;
        string inpt = Reader.ReadLine();
        string ans = inpt.Substring(0, 4) + " " + inpt.Substring(4);
        Console.WriteLine(ans);

    }


    public class Reader
    {
        public static bool IsDebug = true;
        private static String PlainInput = @"

CODEFESTIVAL


";
        private static System.IO.StringReader Sr = null;
        public static string ReadLine()
        {
            if (IsDebug)
            {
                if (Sr == null)
                {
                    Sr = new System.IO.StringReader(PlainInput.Trim());
                }
                return Sr.ReadLine();
            }
            else
            {
                return Console.ReadLine();
            }
        }
    }
    static void Main()
    {
        Program prg = new Program();
        prg.Proc();
    }
}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User mellotron
Language C# (Mono 4.6.2.0)
Score 100
Code Size 1038 Byte
Status AC
Exec Time 20 ms
Memory 2648 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 6
Set Name Test Cases
Sample 0_00.txt, 0_01.txt, 0_02.txt
All 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt
Case Name Status Exec Time Memory
0_00.txt AC 20 ms 2648 KB
0_01.txt AC 20 ms 2648 KB
0_02.txt AC 20 ms 2648 KB
1_00.txt AC 20 ms 2648 KB
1_01.txt AC 20 ms 2648 KB
1_02.txt AC 20 ms 2648 KB