結果

問題 No.427 テレビ
ユーザー ぴろずぴろず
提出日時 2016-10-02 22:24:06
言語 Java19
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 3,385 ms
コンパイル使用メモリ 71,224 KB
実行使用メモリ 56,220 KB
最終ジャッジ日時 2023-08-23 12:14:14
合計ジャッジ時間 5,498 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,668 KB
testcase_01 AC 119 ms
54,012 KB
testcase_02 AC 117 ms
55,612 KB
testcase_03 AC 117 ms
56,220 KB
testcase_04 AC 118 ms
55,776 KB
testcase_05 AC 118 ms
56,184 KB
testcase_06 AC 118 ms
55,732 KB
testcase_07 AC 117 ms
55,896 KB
testcase_08 AC 119 ms
56,140 KB
testcase_09 AC 118 ms
56,172 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no427;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long h = sc.nextLong();
		long w = sc.nextLong();
		if (h * 3 == w * 4) {
			System.out.println("TATE");
		}else{
			System.out.println("YOKO");
		}
	}

}
0