結果

問題 No.545 ママの大事な二人の子供
ユーザー tailstails
提出日時 2021-05-13 12:00:43
言語 Perl
(5.38.2)
結果
AC  
実行時間 193 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 331 ms
コンパイル使用メモリ 5,496 KB
実行使用メモリ 19,820 KB
最終ジャッジ日時 2023-10-25 06:05:28
合計ジャッジ時間 3,544 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,684 KB
testcase_01 AC 3 ms
5,684 KB
testcase_02 AC 4 ms
5,684 KB
testcase_03 AC 4 ms
5,688 KB
testcase_04 AC 3 ms
5,688 KB
testcase_05 AC 3 ms
5,688 KB
testcase_06 AC 3 ms
5,684 KB
testcase_07 AC 3 ms
5,684 KB
testcase_08 AC 3 ms
5,688 KB
testcase_09 AC 4 ms
5,692 KB
testcase_10 AC 3 ms
5,688 KB
testcase_11 AC 4 ms
5,688 KB
testcase_12 AC 4 ms
5,704 KB
testcase_13 AC 4 ms
5,716 KB
testcase_14 AC 4 ms
5,720 KB
testcase_15 AC 3 ms
5,696 KB
testcase_16 AC 4 ms
5,752 KB
testcase_17 AC 5 ms
5,820 KB
testcase_18 AC 9 ms
6,196 KB
testcase_19 AC 15 ms
6,684 KB
testcase_20 AC 27 ms
7,544 KB
testcase_21 AC 4 ms
5,684 KB
testcase_22 AC 97 ms
12,776 KB
testcase_23 AC 193 ms
19,820 KB
testcase_24 AC 93 ms
12,780 KB
testcase_25 AC 182 ms
19,816 KB
testcase_26 AC 189 ms
19,816 KB
testcase_27 AC 183 ms
19,820 KB
testcase_28 AC 193 ms
19,820 KB
testcase_29 AC 183 ms
19,816 KB
testcase_30 AC 184 ms
19,820 KB
testcase_31 AC 177 ms
19,816 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@0=@1=0;/ /,@$c=sort{$a<=>$b}map{$_+$`,$_-$'}@{$c^=1}for<>;$_=$0[0]+$1[-1],$b>abs|m???$b=abs:/-/?shift@0:pop@1while@0*@1;print$b
0