結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-28 01:10:34 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 474 bytes |
| 記録 | |
| コンパイル時間 | 513 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-05-09 05:47:14 |
| 合計ジャッジ時間 | 2,117 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
N,K = map(int, input().split())
if N == 0:
if N - K == 0:
print('Drew')
elif N - K == -1:
print('Won')
elif N - K == -2:
print('Lost')
elif N == 1:
if N - K == 0:
print('Drew')
elif N - K == 1:
print('Lost')
elif N - K == -1:
print('Won')
elif N == 2:
if N - K == 0:
print('Drew')
elif N - K == 2:
print('Won')
elif N - K == 1:
print('Lost')