結果

問題 No.969 じゃんけん
ユーザー masa_ahemasa_ahe
提出日時 2020-03-12 13:32:13
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 2,197 ms
コンパイル使用メモリ 73,524 KB
実行使用メモリ 41,300 KB
最終ジャッジ日時 2024-04-28 22:21:16
合計ジャッジ時間 3,752 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 137 ms
41,116 KB
testcase_02 AC 144 ms
41,104 KB
testcase_03 AC 135 ms
41,072 KB
testcase_04 AC 132 ms
40,948 KB
testcase_05 AC 137 ms
41,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int x=sc.nextInt();
		if(x%2==0)System.out.println("Yes");
		else System.out.println("No");
	}
}
0