結果

問題 No.264 じゃんけん
ユーザー pekempey
提出日時 2019-08-03 03:51:25
言語 Lua
(LuaJit 2.1.1734355927)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 08:30:47
合計ジャッジ時間 645 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

local A, B = io.read("*n", "*n")

if A == B then
  print("Drew")
elseif (A + 1) % 3 == B then
  print("Won")
else
  print("Lost")
end
0