結果
問題 | No.264 じゃんけん |
ユーザー | sasakitikiti |
提出日時 | 2016-08-02 10:05:21 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 16 ms / 5,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 10,692 KB |
実行使用メモリ | 7,880 KB |
最終ジャッジ日時 | 2023-08-06 20:29:13 |
合計ジャッジ時間 | 1,084 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,732 KB |
testcase_01 | AC | 16 ms
7,844 KB |
testcase_02 | AC | 16 ms
7,776 KB |
testcase_03 | AC | 15 ms
7,868 KB |
testcase_04 | AC | 15 ms
7,880 KB |
testcase_05 | AC | 16 ms
7,732 KB |
testcase_06 | AC | 16 ms
7,876 KB |
testcase_07 | AC | 16 ms
7,824 KB |
testcase_08 | AC | 16 ms
7,868 KB |
ソースコード
n,m=(int(i) for i in input().split()) g=0 c=1 p=2 if n==m: print("Drew") elif (n==g and m==c) or (n==c and m==p) or (n==p and m==g): print("Won") else: print("Lost")