結果

問題 No.863 計算量
ユーザー takeya_okino
提出日時 2019-09-22 16:14:30
言語 Java
(openjdk 23)
結果
AC  
実行時間 163 ms / 1,000 ms
コード長 273 bytes
コンパイル時間 2,205 ms
コンパイル使用メモリ 74,188 KB
実行使用メモリ 41,852 KB
最終ジャッジ日時 2024-09-19 03:37:21
合計ジャッジ時間 5,714 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

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