結果

問題 No.427 テレビ
ユーザー n.yn.y
提出日時 2022-06-08 17:13:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 581 bytes
コンパイル時間 895 ms
コンパイル使用メモリ 106,592 KB
実行使用メモリ 24,116 KB
最終ジャッジ日時 2023-10-21 04:08:38
合計ジャッジ時間 1,769 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
24,116 KB
testcase_01 AC 25 ms
24,112 KB
testcase_02 AC 25 ms
24,112 KB
testcase_03 AC 25 ms
24,112 KB
testcase_04 AC 26 ms
24,116 KB
testcase_05 AC 26 ms
24,116 KB
testcase_06 AC 25 ms
24,116 KB
testcase_07 AC 26 ms
24,112 KB
testcase_08 AC 25 ms
24,112 KB
testcase_09 AC 26 ms
24,112 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace yukicoder
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] str = Console.ReadLine().Split(' ');

            int[] a = new int[2];
            for (int i = 0; i < 2; i++)
            {
                int A = int.Parse(str[i]);
                a[i] = A;
            }
            //0が縦 1が横
            if(a[0]>a[1])
            {
                Console.WriteLine("TATE");

            }
            else
            {
                Console.WriteLine("YOKO");

            }
        }
    }
}
0