結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2017-04-12 13:18:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 26 ms / 5,000 ms |
コード長 | 417 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-18 10:19:24 |
合計ジャッジ時間 | 727 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
# 標準入力から一行分を読み出し、文字列として格納する。 first = input() # 読み込んだ文字列をスペースで分割する split_first = first.split() #print(split_first) # それぞれをint型に変換する N = int(split_first[0]) K = int(split_first[1]) if N==K: print("Drew") elif (N==0 and K==1) or (N==1 and K==2)or (N==2 and K==0): print("Won") else: print("Lost")