Submission #496291


Source Code Expand

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;

class Myon
{

    public Myon() { }
    public static int Main()
    {
        new Myon().calc();
        return 0;
    }


    void calc()
    {
        //入力がスペース区切りなので、とりあえず行を受け取って、スペースで分割する
        string[] st = Console.ReadLine().Split(' ');
        //それぞれ整数に変換する
        int X = int.Parse(st[0]);
        int Y = int.Parse(st[1]);
        //大きい方を出力する
        Console.WriteLine(Math.Max(X, Y));
    }
}

Submission Info

Submission Time
Task A - 正直者
User chokudai
Language C# (Mono 2.10.8.1)
Score 100
Code Size 660 Byte
Status AC
Exec Time 142 ms
Memory 7888 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt AC 133 ms 7848 KB
00_sample_02.txt AC 135 ms 7852 KB
kensho_diff01 AC 129 ms 7840 KB
kensho_diff02 AC 135 ms 7852 KB
kensho_diff03 AC 132 ms 7792 KB
kensho_diff04 AC 133 ms 7820 KB
kensho_diff05 AC 132 ms 7836 KB
kensho_min-max01 AC 136 ms 7828 KB
kensho_min-max02 AC 132 ms 7844 KB
kensho_min-max03 AC 132 ms 7840 KB
kensho_min-max04 AC 133 ms 7864 KB
kensho_min-max05 AC 132 ms 7824 KB
kensho_min-max06 AC 131 ms 7840 KB
kensho_min-max07 AC 133 ms 7828 KB
kensho_min-max08 AC 135 ms 7852 KB
kensho_min-max09 AC 142 ms 7888 KB
kensho_min-max10 AC 133 ms 7828 KB
kensho_rand01 AC 131 ms 7864 KB
kensho_rand02 AC 128 ms 7852 KB
kensho_rand03 AC 133 ms 7820 KB
kensho_rand04 AC 132 ms 7856 KB
kensho_rand05 AC 133 ms 7868 KB
kensho_rand06 AC 133 ms 7804 KB
kensho_rand07 AC 133 ms 7796 KB
kensho_rand08 AC 133 ms 7816 KB
kensho_rand09 AC 132 ms 7832 KB
kensho_rand10 AC 130 ms 7824 KB