結果
問題 | No.264 じゃんけん |
ユーザー | cowgirl |
提出日時 | 2018-06-28 23:26:17 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 99 ms |
コンパイル使用メモリ | 10,608 KB |
実行使用メモリ | 7,984 KB |
最終ジャッジ日時 | 2023-09-13 14:56:17 |
合計ジャッジ時間 | 920 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,812 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 15 ms
7,864 KB |
testcase_04 | AC | 15 ms
7,844 KB |
testcase_05 | WA | - |
testcase_06 | AC | 15 ms
7,840 KB |
testcase_07 | AC | 15 ms
7,868 KB |
testcase_08 | AC | 16 ms
7,840 KB |
ソースコード
m, y = map(int, input().split()) diff = 0 if m > y: diff = m - y else: diff = y - m if diff == 0: print("Drew") elif diff == 1: print("Lost") elif diff == 2: print("Won")