結果

問題 No.1129 Rating じゃんけん
ユーザー planetWorldYplanetWorldY
提出日時 2020-10-20 19:36:09
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 534 bytes
コンパイル時間 2,142 ms
コンパイル使用メモリ 71,948 KB
実行使用メモリ 57,916 KB
最終ジャッジ日時 2023-09-28 13:46:13
合計ジャッジ時間 5,683 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,904 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 126 ms
55,968 KB
testcase_06 AC 125 ms
55,940 KB
testcase_07 WA -
testcase_08 AC 125 ms
53,792 KB
testcase_09 AC 125 ms
55,788 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 122 ms
56,100 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int A = sc.nextInt();
        int B = sc.nextInt();
        int C = sc.nextInt();
        int D = sc.nextInt();
        
        if(A != C && B == D){
            System.out.println("tRue");
        }else if(A == C && B != D){
            System.out.println("Draw");
        }else{
            System.out.println("null");    
        
        }
        
    }}
        
0