結果

問題 No.863 計算量
ユーザー takeya_okino
提出日時 2019-09-22 16:14:12
言語 Java
(openjdk 23)
結果
AC  
実行時間 151 ms / 1,000 ms
コード長 273 bytes
コンパイル時間 2,367 ms
コンパイル使用メモリ 74,372 KB
実行使用メモリ 41,720 KB
最終ジャッジ日時 2024-09-19 03:37:15
合計ジャッジ時間 5,337 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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