結果
| 問題 | No.2921 Seated in Classroom |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-10-12 16:44:54 |
| 言語 | Go (1.26.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 231 bytes |
| 記録 | |
| コンパイル時間 | 11,208 ms |
| コンパイル使用メモリ | 278,384 KB |
| 実行使用メモリ | 7,040 KB |
| 最終ジャッジ日時 | 2026-04-29 19:20:29 |
| 合計ジャッジ時間 | 19,974 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 5 |
ソースコード
package main
import "fmt"
func main() {
var t,n,m int64
fmt.Scan(&t)
for ;t>0;t-- {
fmt.Scan(&n,&m)
if n >= m {
fmt.Println((n+3)/4+1)
} else {
fmt.Println((n+m+7)/8+1)
}
}
}
ID 21712