結果

問題 No.2921 Seated in Classroom
ユーザー 転生チートなし転生チートなし
提出日時 2024-10-12 16:44:07
言語 Go
(1.22.1)
結果
TLE  
実行時間 -
コード長 231 bytes
コンパイル時間 12,892 ms
コンパイル使用メモリ 217,260 KB
実行使用メモリ 19,784 KB
最終ジャッジ日時 2024-10-12 16:44:38
合計ジャッジ時間 18,245 ms
ジャッジサーバーID
(参考情報)
judge4 / judge
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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+3)/4+1)
		}
		
		
		
		
		
		
		
	
		
	}
	
}
0