結果

問題 No.863 計算量
ユーザー shinwisteria
提出日時 2019-08-30 11:08:01
言語 Java
(openjdk 23)
結果
AC  
実行時間 136 ms / 1,000 ms
コード長 299 bytes
コンパイル時間 3,481 ms
コンパイル使用メモリ 77,384 KB
実行使用メモリ 41,720 KB
最終ジャッジ日時 2024-11-20 19:10:19
合計ジャッジ時間 6,490 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

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