結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
r.suzuki
|
| 提出日時 | 2015-12-08 12:07:44 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 5,000 ms |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 3,955 ms |
| コンパイル使用メモリ | 82,064 KB |
| 実行使用メモリ | 41,472 KB |
| 最終ジャッジ日時 | 2026-04-04 14:41:49 |
| 合計ジャッジ時間 | 3,970 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
import java.util.Scanner;
public class No_264 {
public static void main(String[] args) {
String[][] standings = {{"Drew","Won","Lost"},
{"Lost","Drew","Won"},
{"Won","Lost","Drew"}
};
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(standings[a][b]);
sc.close();
}
}
r.suzuki