結果

問題 No.863 計算量
ユーザー takeya_okinotakeya_okino
提出日時 2019-09-22 16:14:30
言語 Java21
(openjdk 21)
結果
AC  
実行時間 155 ms / 1,000 ms
コード長 273 bytes
コンパイル時間 2,253 ms
コンパイル使用メモリ 73,744 KB
実行使用メモリ 57,804 KB
最終ジャッジ日時 2023-10-19 07:17:18
合計ジャッジ時間 5,518 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 151 ms
57,772 KB
testcase_01 AC 155 ms
57,776 KB
testcase_02 AC 151 ms
57,360 KB
testcase_03 AC 152 ms
57,312 KB
testcase_04 AC 148 ms
57,804 KB
testcase_05 AC 150 ms
57,592 KB
testcase_06 AC 151 ms
57,772 KB
testcase_07 AC 149 ms
57,800 KB
testcase_08 AC 150 ms
57,792 KB
testcase_09 AC 152 ms
57,780 KB
testcase_10 AC 153 ms
57,388 KB
testcase_11 AC 149 ms
57,712 KB
testcase_12 AC 155 ms
57,304 KB
testcase_13 AC 154 ms
57,376 KB
testcase_14 AC 152 ms
57,744 KB
testcase_15 AC 151 ms
57,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    double a = sc.nextDouble();
    double b = sc.nextDouble();
    int ans = 1;
    if((b / a) >= 1600) ans = 2;
    System.out.println(ans);
  }
}
0