結果

問題 No.264 じゃんけん
ユーザー QED0302QED0302
提出日時 2018-05-10 16:23:20
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 326 bytes
コンパイル時間 3,326 ms
コンパイル使用メモリ 72,320 KB
実行使用メモリ 57,796 KB
最終ジャッジ日時 2023-09-10 11:40:13
合計ジャッジ時間 5,269 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,744 KB
testcase_01 WA -
testcase_02 AC 127 ms
55,704 KB
testcase_03 WA -
testcase_04 AC 126 ms
55,496 KB
testcase_05 WA -
testcase_06 AC 125 ms
56,056 KB
testcase_07 WA -
testcase_08 AC 126 ms
56,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class junken{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int me = sc.nextInt();
		int you = sc.nextInt();
		if(me == you){
			System.out.println("Drew");
		}else if(me > you){
			System.out.println("Won");
		}else{
			System.out.println("Lost");
		}
	}
}
0