結果

問題 No.1305 Speak of the Devil
ユーザー ks2mks2m
提出日時 2020-12-03 23:43:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 2,698 ms
コンパイル使用メモリ 71,668 KB
実行使用メモリ 56,808 KB
最終ジャッジ日時 2023-10-12 10:16:28
合計ジャッジ時間 7,370 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,232 KB
testcase_01 AC 122 ms
56,344 KB
testcase_02 AC 123 ms
55,896 KB
testcase_03 AC 123 ms
55,796 KB
testcase_04 AC 121 ms
55,720 KB
testcase_05 AC 124 ms
56,204 KB
testcase_06 AC 122 ms
56,120 KB
testcase_07 AC 123 ms
55,664 KB
testcase_08 AC 124 ms
55,964 KB
testcase_09 AC 124 ms
56,096 KB
testcase_10 AC 124 ms
56,436 KB
testcase_11 AC 124 ms
56,004 KB
testcase_12 AC 122 ms
55,912 KB
testcase_13 AC 123 ms
55,944 KB
testcase_14 AC 125 ms
55,796 KB
testcase_15 AC 123 ms
56,808 KB
testcase_16 AC 125 ms
56,400 KB
testcase_17 AC 124 ms
56,236 KB
testcase_18 AC 125 ms
56,108 KB
testcase_19 AC 124 ms
55,564 KB
testcase_20 AC 125 ms
55,588 KB
testcase_21 AC 122 ms
56,116 KB
testcase_22 AC 123 ms
56,188 KB
testcase_23 AC 124 ms
55,940 KB
testcase_24 AC 124 ms
56,228 KB
testcase_25 AC 124 ms
56,160 KB
testcase_26 AC 123 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int p = sc.nextInt();
		int q = sc.nextInt();
		sc.close();

		System.out.println(Math.min(p, q));
	}
}
0