結果
問題 | No.1412 Super Ryuo |
ユーザー | 👑 obakyan |
提出日時 | 2021-02-28 21:22:07 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-02 22:01:44 |
合計ジャッジ時間 | 600 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
a, b = io.read("*n", "*n") c, d = io.read("*n", "*n") if math.abs(a - c) + math.abs(b - d) <= 3 then print(1) elseif a == c or b == d then print(1) else print(2) end