結果
| 問題 | No.1129 Rating じゃんけん |
| ユーザー |
|
| 提出日時 | 2020-08-04 09:29:33 |
| 言語 | Lua (LuaJit 2.1.1791890110) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 395µs | |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 16 ms |
| コンパイル使用メモリ | 9,692 KB |
| 実行使用メモリ | 9,776 KB |
| 最終ジャッジ日時 | 2026-10-15 19:40:03 |
| 合計ジャッジ時間 | 1,531 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 17 |
ソースコード
first = "null"
second = "tRue"
a, b = io.read("*n", "*n")
c, d = io.read("*n", "*n")
if a < c then
print(second)
elseif c < a then
print(first)
elseif b == d then
print("Draw")
elseif (3 + b - d) % 3 == 1 then
print(second)
else
print(first)
end