結果
問題 | No.485 方程式のお勉強 |
ユーザー |
|
提出日時 | 2022-01-15 03:12:49 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 358 ms |
コンパイル使用メモリ | 7,072 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-20 21:03:02 |
合計ジャッジ時間 | 1,070 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
local a = io.read("*n")local b = io.read("*n")local ans = (function ()if math.floor(b / a) == (b / a) thenreturn b / aelsereturn "NO"endend)()print(ans)