結果

問題 No.731 等差数列がだいすき
ユーザー tailstails
提出日時 2018-09-07 22:42:26
言語 Perl
(5.38.0)
結果
AC  
実行時間 10 ms / 1,500 ms
コード長 114 bytes
コンパイル時間 494 ms
コンパイル使用メモリ 5,368 KB
実行使用メモリ 5,652 KB
最終ジャッジ日時 2023-08-19 20:59:24
合計ジャッジ時間 1,637 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
5,196 KB
testcase_01 AC 5 ms
5,152 KB
testcase_02 AC 5 ms
5,068 KB
testcase_03 AC 7 ms
5,508 KB
testcase_04 AC 9 ms
5,652 KB
testcase_05 AC 6 ms
5,412 KB
testcase_06 AC 9 ms
5,484 KB
testcase_07 AC 8 ms
5,304 KB
testcase_08 AC 8 ms
5,564 KB
testcase_09 AC 9 ms
5,424 KB
testcase_10 AC 10 ms
5,540 KB
testcase_11 AC 6 ms
5,212 KB
testcase_12 AC 7 ms
5,300 KB
testcase_13 AC 7 ms
5,584 KB
testcase_14 AC 8 ms
5,476 KB
testcase_15 AC 8 ms
5,640 KB
testcase_16 AC 7 ms
5,552 KB
testcase_17 AC 9 ms
5,436 KB
testcase_18 AC 10 ms
5,604 KB
testcase_19 AC 10 ms
5,600 KB
testcase_20 AC 10 ms
5,576 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$d=<>/2+.5;$b+=$_,$a-=$_*--$d,$u+=$d**2for@a=glob<>;$b=$b/@a+($a/=$u)*$d;$\+=($a*$i+++$b-$_)**2for@a;print"$b $a
"
0