結果

問題 No.863 計算量
ユーザー iwa_choco_168iwa_choco_168
提出日時 2019-12-08 13:34:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 114 ms / 1,000 ms
コード長 301 bytes
コンパイル時間 2,050 ms
コンパイル使用メモリ 71,492 KB
実行使用メモリ 56,276 KB
最終ジャッジ日時 2023-08-28 18:54:13
合計ジャッジ時間 4,709 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
55,636 KB
testcase_01 AC 112 ms
55,856 KB
testcase_02 AC 112 ms
55,724 KB
testcase_03 AC 112 ms
55,672 KB
testcase_04 AC 112 ms
55,808 KB
testcase_05 AC 112 ms
55,984 KB
testcase_06 AC 112 ms
55,760 KB
testcase_07 AC 112 ms
54,256 KB
testcase_08 AC 113 ms
56,072 KB
testcase_09 AC 112 ms
56,276 KB
testcase_10 AC 111 ms
55,976 KB
testcase_11 AC 112 ms
55,596 KB
testcase_12 AC 112 ms
55,916 KB
testcase_13 AC 112 ms
55,848 KB
testcase_14 AC 114 ms
56,028 KB
testcase_15 AC 113 ms
55,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next()) / 40;
        int ans = (a == b)? 1 : 2;
        System.out.println(ans);
    }
}
0