結果
| 問題 | No.1129 Rating じゃんけん |
| ユーザー |
|
| 提出日時 | 2020-10-20 19:36:09 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 534 bytes |
| 記録 | |
| コンパイル時間 | 2,578 ms |
| コンパイル使用メモリ | 82,216 KB |
| 実行使用メモリ | 48,100 KB |
| 最終ジャッジ日時 | 2026-04-03 04:02:12 |
| 合計ジャッジ時間 | 7,846 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge4_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 5 WA * 11 |
ソースコード
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");
}
}}