結果

問題 No.1285 ゴミ捨て
ユーザー tailstails
提出日時 2020-11-13 21:25:59
言語 Perl
(5.38.2)
結果
AC  
実行時間 171 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 562 ms
コンパイル使用メモリ 5,504 KB
実行使用メモリ 44,672 KB
最終ジャッジ日時 2024-05-06 14:24:28
合計ジャッジ時間 2,948 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,248 KB
testcase_01 AC 3 ms
5,504 KB
testcase_02 AC 3 ms
5,376 KB
testcase_03 AC 3 ms
5,504 KB
testcase_04 AC 3 ms
5,376 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 3 ms
5,376 KB
testcase_07 AC 171 ms
42,880 KB
testcase_08 AC 7 ms
6,784 KB
testcase_09 AC 63 ms
20,608 KB
testcase_10 AC 139 ms
36,736 KB
testcase_11 AC 133 ms
34,304 KB
testcase_12 AC 89 ms
27,136 KB
testcase_13 AC 90 ms
27,008 KB
testcase_14 AC 158 ms
41,344 KB
testcase_15 AC 106 ms
29,952 KB
testcase_16 AC 28 ms
12,032 KB
testcase_17 AC 29 ms
12,288 KB
testcase_18 AC 27 ms
11,520 KB
testcase_19 AC 53 ms
19,200 KB
testcase_20 AC 27 ms
11,264 KB
testcase_21 AC 35 ms
14,208 KB
testcase_22 AC 170 ms
44,672 KB
testcase_23 AC 169 ms
44,544 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
++$d{$_} for @a=map$_+0,<>;
$x>$d{$_}+$d{$_+1} or $x=$d{$_}+$d{$_+1} for @a;
print$x;
0