結果

問題 No.427 テレビ
ユーザー 1644吉田英陽1644吉田英陽
提出日時 2020-11-16 20:32:40
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 663 bytes
コンパイル時間 3,181 ms
コンパイル使用メモリ 99,040 KB
実行使用メモリ 22,728 KB
最終ジャッジ日時 2023-09-30 07:27:32
合計ジャッジ時間 3,235 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
20,724 KB
testcase_01 AC 52 ms
20,708 KB
testcase_02 AC 52 ms
20,684 KB
testcase_03 AC 51 ms
22,728 KB
testcase_04 AC 50 ms
20,696 KB
testcase_05 AC 50 ms
20,672 KB
testcase_06 AC 48 ms
20,692 KB
testcase_07 AC 49 ms
20,736 KB
testcase_08 AC 48 ms
20,644 KB
testcase_09 AC 47 ms
20,744 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

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

namespace ConsoleApp110
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] str = Console.ReadLine().Split();
            int tate = int.Parse(str[0]);
            int yoko = int.Parse(str[1]);
            if (tate > yoko)
            {
                Console.WriteLine("TATE");
                Console.ReadLine();
            }
            else if (yoko > tate)
            {
                Console.WriteLine("YOKO");
                Console.ReadLine();
            }
           
        }
    }
}
0