結果

問題 No.1096 Range Sums
ユーザー tailstails
提出日時 2020-06-27 00:23:47
言語 Perl
(5.38.2)
結果
AC  
実行時間 336 ms / 2,000 ms
コード長 40 bytes
コンパイル時間 856 ms
コンパイル使用メモリ 5,276 KB
実行使用メモリ 45,208 KB
最終ジャッジ日時 2023-09-18 11:18:46
合計ジャッジ時間 3,395 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,156 KB
testcase_01 AC 6 ms
5,076 KB
testcase_02 AC 6 ms
5,196 KB
testcase_03 AC 6 ms
5,252 KB
testcase_04 AC 6 ms
5,248 KB
testcase_05 AC 5 ms
5,208 KB
testcase_06 AC 6 ms
5,100 KB
testcase_07 AC 6 ms
5,284 KB
testcase_08 AC 6 ms
5,208 KB
testcase_09 AC 6 ms
5,152 KB
testcase_10 AC 336 ms
45,176 KB
testcase_11 AC 331 ms
45,208 KB
testcase_12 AC 333 ms
45,180 KB
testcase_13 AC 333 ms
45,156 KB
testcase_14 AC 336 ms
45,180 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$n=<>;$s+=$_*++$i*$n--for glob<>;print$s
0