結果

問題 No.2233 Average
ユーザー 👑 H20H20
提出日時 2023-03-03 22:13:43
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 677 ms
コンパイル使用メモリ 81,688 KB
実行使用メモリ 75,648 KB
最終ジャッジ日時 2023-10-18 02:23:05
合計ジャッジ時間 4,350 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 38 ms
53,380 KB
testcase_02 AC 38 ms
53,380 KB
testcase_03 AC 38 ms
53,380 KB
testcase_04 AC 38 ms
53,380 KB
testcase_05 AC 43 ms
59,220 KB
testcase_06 AC 42 ms
59,220 KB
testcase_07 AC 44 ms
59,220 KB
testcase_08 AC 195 ms
75,648 KB
testcase_09 AC 269 ms
75,644 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 174 ms
75,640 KB
testcase_15 AC 213 ms
75,640 KB
testcase_16 AC 104 ms
75,644 KB
testcase_17 AC 115 ms
75,640 KB
testcase_18 AC 293 ms
75,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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