結果

問題 No.2233 Average
ユーザー tailstails
提出日時 2023-03-03 21:33:06
言語 Perl
(5.38.2)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 139 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 6,016 KB
実行使用メモリ 19,712 KB
最終ジャッジ日時 2024-05-01 22:54:27
合計ジャッジ時間 14,353 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,016 KB
testcase_01 AC 7 ms
5,888 KB
testcase_02 AC 7 ms
6,016 KB
testcase_03 AC 6 ms
6,016 KB
testcase_04 AC 7 ms
5,888 KB
testcase_05 AC 7 ms
5,888 KB
testcase_06 AC 6 ms
5,888 KB
testcase_07 AC 8 ms
5,888 KB
testcase_08 AC 1,039 ms
13,824 KB
testcase_09 AC 1,659 ms
18,176 KB
testcase_10 AC 1,133 ms
12,160 KB
testcase_11 AC 1,174 ms
12,032 KB
testcase_12 AC 988 ms
11,392 KB
testcase_13 AC 239 ms
7,168 KB
testcase_14 AC 934 ms
12,672 KB
testcase_15 AC 1,253 ms
15,104 KB
testcase_16 AC 370 ms
8,576 KB
testcase_17 AC 483 ms
9,088 KB
testcase_18 TLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
for(<>){
	($a,$b,$c,$k)=glob;
	for(1..$k){
		($a,$b,$c)=($b+$c>>1,$c+$a>>1,$a+$b>>1);
		last if$a==$b&&$a==$c;
	}
	print$a+$b+$c,$/;
}
0