結果

問題 No.427 テレビ
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2016-11-10 18:31:30
言語 Java21
(openjdk 21)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 304 bytes
コンパイル時間 2,063 ms
コンパイル使用メモリ 71,516 KB
実行使用メモリ 56,076 KB
最終ジャッジ日時 2023-08-24 13:26:37
合計ジャッジ時間 4,054 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
56,076 KB
testcase_01 AC 119 ms
55,336 KB
testcase_02 AC 121 ms
55,484 KB
testcase_03 WA -
testcase_04 AC 120 ms
55,908 KB
testcase_05 AC 120 ms
55,996 KB
testcase_06 AC 121 ms
55,980 KB
testcase_07 AC 121 ms
55,988 KB
testcase_08 AC 121 ms
55,716 KB
testcase_09 AC 121 ms
55,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Question427
{
	public static void main(String[] args)
	{
	
		Scanner scan = new Scanner(System.in);
		
		int height = scan.nextInt();
		int width = scan.nextInt();
		
		if(height%3 == 0){
			System.out.println("YOKO");
		}
		else{
			System.out.println("TATE");
		}
	}
}
0