結果

問題 No.3112 Decrement or Mod Game
ユーザー ks2m
提出日時 2025-04-18 20:42:32
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 310 bytes
コンパイル時間 2,519 ms
コンパイル使用メモリ 85,412 KB
実行使用メモリ 54,500 KB
最終ジャッジ日時 2025-04-18 20:42:47
合計ジャッジ時間 14,225 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 45 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = sc.nextLong();
		sc.close();

		if (a >= b) {
			System.out.println("Alice");
		} else {
			System.out.println("Bob");
		}
	}
}
0