結果

問題 No.2233 Average
ユーザー pluto77pluto77
提出日時 2023-03-12 15:36:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 160 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 11,804 KB
実行使用メモリ 10,092 KB
最終ジャッジ日時 2023-10-18 10:38:50
合計ジャッジ時間 19,790 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
9,992 KB
testcase_01 AC 29 ms
9,992 KB
testcase_02 AC 29 ms
9,992 KB
testcase_03 AC 29 ms
9,992 KB
testcase_04 AC 30 ms
9,992 KB
testcase_05 AC 29 ms
9,992 KB
testcase_06 AC 29 ms
9,992 KB
testcase_07 AC 30 ms
9,992 KB
testcase_08 AC 1,559 ms
10,004 KB
testcase_09 TLE -
testcase_10 TLE -
testcase_11 TLE -
testcase_12 AC 1,782 ms
10,004 KB
testcase_13 AC 411 ms
10,004 KB
testcase_14 AC 1,314 ms
10,004 KB
testcase_15 AC 1,762 ms
10,004 KB
testcase_16 AC 515 ms
10,004 KB
testcase_17 AC 652 ms
10,004 KB
testcase_18 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

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