結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2019-01-13 19:07:26 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 3,357 ms |
コンパイル使用メモリ | 74,340 KB |
実行使用メモリ | 54,032 KB |
最終ジャッジ日時 | 2024-12-26 01:17:07 |
合計ジャッジ時間 | 5,195 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 3 |
ソースコード
import java.util.Scanner; public class A000264 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int me = sc.nextInt(); int you = sc.nextInt(); sc.close(); String res = ""; if(you==me)res="Drew"; if(you==0)you+=3; if(me+1==you) { res="Won"; }else { res="Lost"; } System.out.println(res); } }