結果

問題 No.2233 Average
ユーザー shobonvipshobonvip
提出日時 2023-03-03 21:26:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 340 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 578 ms
コンパイル使用メモリ 81,448 KB
実行使用メモリ 75,416 KB
最終ジャッジ日時 2023-10-18 01:18:34
合計ジャッジ時間 5,207 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,168 KB
testcase_01 AC 36 ms
53,168 KB
testcase_02 AC 37 ms
53,168 KB
testcase_03 AC 41 ms
59,012 KB
testcase_04 AC 41 ms
59,012 KB
testcase_05 AC 41 ms
59,012 KB
testcase_06 AC 41 ms
59,012 KB
testcase_07 AC 43 ms
59,012 KB
testcase_08 AC 228 ms
75,404 KB
testcase_09 AC 306 ms
75,412 KB
testcase_10 AC 203 ms
75,412 KB
testcase_11 AC 199 ms
75,416 KB
testcase_12 AC 182 ms
75,412 KB
testcase_13 AC 83 ms
74,064 KB
testcase_14 AC 197 ms
75,412 KB
testcase_15 AC 246 ms
75,408 KB
testcase_16 AC 112 ms
75,408 KB
testcase_17 AC 128 ms
75,412 KB
testcase_18 AC 340 ms
75,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for _ in range(T):
	a,b,c,k = map(int,input().split())
	for j in range(min(k, 200)):
		a,b,c = (a+b)//2, (b+c)//2, (c+a)//2
	print(a+b+c)
0