結果
問題 | No.2921 Seated in Classroom |
ユーザー |
👑 |
提出日時 | 2024-11-07 22:33:04 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 108 ms / 2,000 ms |
コード長 | 144 bytes |
コンパイル時間 | 195 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 22:33:07 |
合計ジャッジ時間 | 1,643 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
ソースコード
q = io.read("*n") for iq = 1, q do a, b = io.read("*n", "*n") c = math.ceil(a / 4) d = math.ceil((a + b) / 8) print(math.max(c, d)) end