結果

問題 No.1129 Rating じゃんけん
ユーザー planetWorldY
提出日時 2020-10-20 19:36:09
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 534 bytes
コンパイル時間 2,246 ms
コンパイル使用メモリ 74,572 KB
実行使用メモリ 41,296 KB
最終ジャッジ日時 2024-07-21 08:26:16
合計ジャッジ時間 4,297 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 5 WA * 11
権限があれば一括ダウンロードができます

ソースコード

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