結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2015-12-08 12:07:44 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 134 ms / 5,000 ms |
コード長 | 366 bytes |
コンパイル時間 | 3,524 ms |
コンパイル使用メモリ | 74,396 KB |
実行使用メモリ | 54,120 KB |
最終ジャッジ日時 | 2024-09-14 19:53:19 |
合計ジャッジ時間 | 5,378 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(); } }