結果
| 問題 |
No.2921 Seated in Classroom
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-25 15:49:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 488 ms / 2,000 ms |
| コード長 | 123 bytes |
| コンパイル時間 | 327 ms |
| コンパイル使用メモリ | 82,444 KB |
| 実行使用メモリ | 76,776 KB |
| 最終ジャッジ日時 | 2024-10-25 15:49:28 |
| 合計ジャッジ時間 | 4,983 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 |
ソースコード
import math t=int(input()) for i in range(t): n,m=map(int,input().split()) print(max(math.ceil(n/4),math.ceil((n+m)/8)))