結果

問題 No.2050 Speed
ユーザー viral8viral8
提出日時 2022-10-01 08:08:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 382 bytes
コンパイル時間 2,212 ms
コンパイル使用メモリ 71,440 KB
実行使用メモリ 56,320 KB
最終ジャッジ日時 2023-08-25 01:04:43
合計ジャッジ時間 5,340 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,204 KB
testcase_01 AC 117 ms
55,780 KB
testcase_02 AC 119 ms
56,168 KB
testcase_03 AC 117 ms
56,072 KB
testcase_04 AC 119 ms
56,320 KB
testcase_05 AC 117 ms
55,840 KB
testcase_06 AC 118 ms
55,692 KB
testcase_07 AC 117 ms
56,184 KB
testcase_08 AC 117 ms
55,536 KB
testcase_09 AC 117 ms
55,636 KB
testcase_10 AC 118 ms
55,892 KB
testcase_11 AC 118 ms
56,288 KB
testcase_12 AC 117 ms
56,276 KB
testcase_13 AC 115 ms
56,228 KB
testcase_14 AC 118 ms
55,860 KB
testcase_15 AC 118 ms
56,036 KB
testcase_16 AC 118 ms
56,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long A = sc.nextLong()*1000;
        long B = sc.nextLong()*3600;
        if(A>B)
            System.out.println("KoD");
        else if(A<B)
            System.out.println("blackyuki");
        else
            System.out.println("same");
    }
}
0