結果
| 問題 |
No.1129 Rating じゃんけん
|
| ユーザー |
👑 |
| 提出日時 | 2020-08-04 09:29:33 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 256 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 6,812 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-14 07:01:20 |
| 合計ジャッジ時間 | 949 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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