結果

問題 No.863 計算量
ユーザー shinwisteriashinwisteria
提出日時 2019-08-30 11:08:01
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 299 bytes
コンパイル時間 2,822 ms
コンパイル使用メモリ 74,868 KB
実行使用メモリ 54,356 KB
最終ジャッジ日時 2024-04-30 21:15:30
合計ジャッジ時間 5,260 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
52,752 KB
testcase_01 AC 114 ms
53,516 KB
testcase_02 AC 100 ms
53,112 KB
testcase_03 AC 100 ms
52,972 KB
testcase_04 AC 104 ms
52,908 KB
testcase_05 AC 112 ms
54,356 KB
testcase_06 AC 125 ms
54,144 KB
testcase_07 AC 104 ms
53,004 KB
testcase_08 AC 114 ms
54,164 KB
testcase_09 AC 114 ms
54,192 KB
testcase_10 AC 99 ms
52,584 KB
testcase_11 AC 97 ms
52,620 KB
testcase_12 AC 103 ms
53,072 KB
testcase_13 AC 111 ms
54,148 KB
testcase_14 AC 119 ms
54,260 KB
testcase_15 AC 116 ms
54,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package con_level_1;
import java.util.Scanner;
public class Con863 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int A = s.nextInt() , B = s.nextInt();
		s.close();

		if(B/A < 1000){
			System.out.println("1");
		}else{
			System.out.println("2");
		}

	}

}
0