結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
14,032 KB
testcase_01 AC 2 ms
4,588 KB
testcase_02 AC 3 ms
4,468 KB
testcase_03 AC 2 ms
4,564 KB
testcase_04 AC 128 ms
25,844 KB
testcase_05 AC 46 ms
12,356 KB
testcase_06 AC 46 ms
12,904 KB
testcase_07 AC 46 ms
13,048 KB
testcase_08 AC 128 ms
25,436 KB
testcase_09 AC 144 ms
27,760 KB
testcase_10 AC 53 ms
14,016 KB
testcase_11 AC 104 ms
22,720 KB
testcase_12 AC 66 ms
16,248 KB
testcase_13 AC 61 ms
15,356 KB
testcase_14 AC 120 ms
24,008 KB
testcase_15 AC 6 ms
5,764 KB
testcase_16 AC 10 ms
6,236 KB
testcase_17 AC 6 ms
5,348 KB
testcase_18 AC 7 ms
6,324 KB
testcase_19 AC 11 ms
6,624 KB
testcase_20 AC 17 ms
7,376 KB
testcase_21 AC 15 ms
7,408 KB
testcase_22 AC 30 ms
9,720 KB
testcase_23 AC 71 ms
17,116 KB
testcase_24 AC 106 ms
21,628 KB
testcase_25 AC 142 ms
28,020 KB
testcase_26 AC 148 ms
27,996 KB
testcase_27 AC 65 ms
28,020 KB
testcase_28 AC 65 ms
28,088 KB
testcase_29 AC 152 ms
28,080 KB
testcase_30 AC 145 ms
27,660 KB
testcase_31 AC 132 ms
26,964 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;$/=$";($x,$y,@a)=sort{$b-$a}<>;$d=$y-$x;!$d|$_-($y+=$d)&&exit!print'NO'for@a;print'YES'
0