結果

問題 No.615 集合に分けよう
ユーザー tailstails
提出日時 2017-12-15 01:24:33
言語 Perl
(5.38.2)
結果
AC  
実行時間 206 ms / 2,000 ms
コード長 85 bytes
コンパイル時間 353 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 24,124 KB
最終ジャッジ日時 2023-08-21 05:08:02
合計ジャッジ時間 4,004 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,284 KB
testcase_01 AC 6 ms
5,080 KB
testcase_02 AC 7 ms
5,060 KB
testcase_03 AC 6 ms
5,324 KB
testcase_04 AC 6 ms
5,120 KB
testcase_05 AC 6 ms
5,152 KB
testcase_06 AC 6 ms
5,308 KB
testcase_07 AC 6 ms
5,332 KB
testcase_08 AC 6 ms
5,284 KB
testcase_09 AC 7 ms
5,188 KB
testcase_10 AC 6 ms
5,308 KB
testcase_11 AC 6 ms
5,132 KB
testcase_12 AC 6 ms
5,328 KB
testcase_13 AC 8 ms
5,372 KB
testcase_14 AC 10 ms
5,528 KB
testcase_15 AC 44 ms
8,696 KB
testcase_16 AC 194 ms
20,936 KB
testcase_17 AC 202 ms
22,992 KB
testcase_18 AC 203 ms
22,900 KB
testcase_19 AC 205 ms
22,916 KB
testcase_20 AC 206 ms
22,448 KB
testcase_21 AC 204 ms
22,000 KB
testcase_22 AC 198 ms
20,936 KB
testcase_23 AC 131 ms
24,008 KB
testcase_24 AC 206 ms
22,740 KB
testcase_25 AC 6 ms
5,320 KB
testcase_26 AC 6 ms
5,132 KB
testcase_27 AC 113 ms
24,124 KB
testcase_28 AC 113 ms
24,112 KB
testcase_29 AC 118 ms
23,092 KB
testcase_30 AC 116 ms
22,632 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$%-=$_ for(sort{$b<=>$a}map$_-$a[++$i],@a=sort{$a<=>$b}glob<>)[<>=~$"..$`-$'];print$%
0