結果
| 問題 | No.1129 Rating じゃんけん |
| ユーザー |
|
| 提出日時 | 2020-08-04 09:29:33 |
| 言語 | Lua (LuaJit 2.1.1774638290) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 6,400 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 11:03:18 |
| 合計ジャッジ時間 | 985 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
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