結果

問題 No.406 鴨等間隔の法則
ユーザー tailstails
提出日時 2016-08-06 00:21:31
言語 Perl
(5.38.2)
結果
AC  
実行時間 176 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 28,088 KB
最終ジャッジ日時 2023-09-21 17:52:29
合計ジャッジ時間 4,152 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
14,048 KB
testcase_01 AC 2 ms
4,712 KB
testcase_02 AC 2 ms
4,596 KB
testcase_03 AC 3 ms
4,528 KB
testcase_04 AC 151 ms
25,768 KB
testcase_05 AC 48 ms
12,416 KB
testcase_06 AC 53 ms
12,876 KB
testcase_07 AC 54 ms
13,088 KB
testcase_08 AC 152 ms
25,528 KB
testcase_09 AC 169 ms
27,844 KB
testcase_10 AC 60 ms
14,048 KB
testcase_11 AC 125 ms
22,596 KB
testcase_12 AC 79 ms
16,272 KB
testcase_13 AC 72 ms
15,464 KB
testcase_14 AC 138 ms
23,844 KB
testcase_15 AC 6 ms
5,744 KB
testcase_16 AC 10 ms
6,164 KB
testcase_17 AC 6 ms
5,304 KB
testcase_18 AC 8 ms
6,224 KB
testcase_19 AC 12 ms
6,496 KB
testcase_20 AC 17 ms
7,336 KB
testcase_21 AC 17 ms
7,444 KB
testcase_22 AC 31 ms
9,732 KB
testcase_23 AC 84 ms
17,088 KB
testcase_24 AC 116 ms
21,576 KB
testcase_25 AC 176 ms
27,956 KB
testcase_26 AC 168 ms
28,056 KB
testcase_27 AC 75 ms
28,088 KB
testcase_28 AC 75 ms
28,016 KB
testcase_29 AC 170 ms
28,020 KB
testcase_30 AC 169 ms
27,540 KB
testcase_31 AC 159 ms
26,932 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;$/=$";($x,$y,@a)=sort{$b-$a}<>;print!($x-=$y)|grep($_-($y-=$x),@a)?NO:YES
0