結果

問題 No.863 計算量
ユーザー ks2mks2m
提出日時 2019-08-16 21:23:14
言語 Java17
(openjdk 17.0.1)
結果
AC  
実行時間 108 ms / 1,000 ms
コード長 301 bytes
コンパイル時間 1,754 ms
使用メモリ 37,524 KB
最終ジャッジ日時 2022-11-22 03:20:43
合計ジャッジ時間 4,592 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 94 ms
37,496 KB
testcase_01 AC 99 ms
37,328 KB
testcase_02 AC 102 ms
37,388 KB
testcase_03 AC 95 ms
37,460 KB
testcase_04 AC 99 ms
37,344 KB
testcase_05 AC 102 ms
37,520 KB
testcase_06 AC 104 ms
37,524 KB
testcase_07 AC 100 ms
37,336 KB
testcase_08 AC 100 ms
37,416 KB
testcase_09 AC 108 ms
37,392 KB
testcase_10 AC 103 ms
37,516 KB
testcase_11 AC 102 ms
37,456 KB
testcase_12 AC 96 ms
37,404 KB
testcase_13 AC 99 ms
37,432 KB
testcase_14 AC 96 ms
37,424 KB
testcase_15 AC 98 ms
37,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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

		if (b / a < 100) {
			System.out.println(1);
		} else {
			System.out.println(2);
		}
	}
}
0