結果
| 問題 | No.1129 Rating じゃんけん |
| ユーザー |
|
| 提出日時 | 2020-08-08 03:51:29 |
| 言語 | Java (openjdk 27 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 41 ms / 2,000 ms |
| + 468µs | |
| コード長 | 610 bytes |
| 記録 | |
| コンパイル時間 | 1,865 ms |
| コンパイル使用メモリ | 91,104 KB |
| 実行使用メモリ | 42,596 KB |
| 最終ジャッジ日時 | 2026-10-15 19:40:26 |
| 合計ジャッジ時間 | 4,101 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 17 |
ソースコード
import java.io.*;
public class Main {
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line[] = br.readLine().split(" ");
int b[] = new int[4];
for(int i = 0; i < 4; i++){
b[i] = Integer.parseInt(line[i]);
}
// Ratingジャンケン
if(b[0] == b[2]){
System.out.println(b[1]==b[3] ? "Draw" : (b[1]+1)%3==b[3] ? "null" : "tRue");
}else{
System.out.println(b[0] > b[2] ? "null" : "tRue");
}
}
}