結果

問題 No.863 計算量
ユーザー ks2m
提出日時 2019-08-16 21:23:14
言語 Java
(openjdk 23)
結果
AC  
実行時間 135 ms / 1,000 ms
コード長 301 bytes
コンパイル時間 1,961 ms
コンパイル使用メモリ 74,376 KB
実行使用メモリ 54,272 KB
最終ジャッジ日時 2024-09-22 14:53:30
合計ジャッジ時間 4,763 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

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