結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 154 ms
57,356 KB
testcase_01 AC 155 ms
57,512 KB
testcase_02 AC 154 ms
57,688 KB
testcase_03 AC 155 ms
57,376 KB
testcase_04 AC 153 ms
57,308 KB
testcase_05 AC 155 ms
57,356 KB
testcase_06 AC 154 ms
57,696 KB
testcase_07 AC 155 ms
57,508 KB
testcase_08 AC 155 ms
55,424 KB
testcase_09 AC 154 ms
57,704 KB
testcase_10 AC 153 ms
57,536 KB
testcase_11 AC 152 ms
57,656 KB
testcase_12 AC 153 ms
57,380 KB
testcase_13 AC 150 ms
57,776 KB
testcase_14 AC 151 ms
57,776 KB
testcase_15 AC 153 ms
57,504 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