結果

問題 No.1285 ゴミ捨て
ユーザー tailstails
提出日時 2020-11-13 21:25:59
言語 Perl
(5.38.2)
結果
AC  
実行時間 183 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 5,380 KB
実行使用メモリ 41,988 KB
最終ジャッジ日時 2023-08-19 07:10:43
合計ジャッジ時間 2,940 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,532 KB
testcase_01 AC 2 ms
4,596 KB
testcase_02 AC 3 ms
4,584 KB
testcase_03 AC 2 ms
4,688 KB
testcase_04 AC 2 ms
4,588 KB
testcase_05 AC 3 ms
4,696 KB
testcase_06 AC 2 ms
4,696 KB
testcase_07 AC 164 ms
40,332 KB
testcase_08 AC 8 ms
5,844 KB
testcase_09 AC 70 ms
20,204 KB
testcase_10 AC 142 ms
35,996 KB
testcase_11 AC 132 ms
33,656 KB
testcase_12 AC 90 ms
25,408 KB
testcase_13 AC 88 ms
25,232 KB
testcase_14 AC 152 ms
38,580 KB
testcase_15 AC 107 ms
28,364 KB
testcase_16 AC 33 ms
11,372 KB
testcase_17 AC 35 ms
11,660 KB
testcase_18 AC 30 ms
11,032 KB
testcase_19 AC 61 ms
18,792 KB
testcase_20 AC 27 ms
10,252 KB
testcase_21 AC 35 ms
13,204 KB
testcase_22 AC 168 ms
41,988 KB
testcase_23 AC 183 ms
41,904 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