結果

問題 No.264 じゃんけん
ユーザー apahie
提出日時 2019-04-12 23:08:59
言語 Nim
(2.2.0)
結果
WA  
実行時間 -
コード長 216 bytes
コンパイル時間 3,078 ms
コンパイル使用メモリ 66,428 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-01 23:05:29
合計ジャッジ時間 3,580 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sequtils, strutils

let tmp = stdin.readLine.split.map parseInt
var ans: string
if tmp[0] == tmp[1]: ans = "Drew"
elif tmp[0] < tmp[1] or (tmp[0] == 2 and tmp[1] == 0): ans = "Won"
else: ans = "Lost"

echo ans
0