結果

問題 No.406 鴨等間隔の法則
ユーザー tailstails
提出日時 2016-08-06 00:19:11
言語 Perl
(5.38.0)
結果
AC  
実行時間 403 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 507 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 31,912 KB
最終ジャッジ日時 2023-09-21 17:52:09
合計ジャッジ時間 8,124 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
15,784 KB
testcase_01 AC 5 ms
5,104 KB
testcase_02 AC 6 ms
5,104 KB
testcase_03 AC 6 ms
5,244 KB
testcase_04 AC 335 ms
29,436 KB
testcase_05 AC 120 ms
13,872 KB
testcase_06 AC 124 ms
14,460 KB
testcase_07 AC 128 ms
14,848 KB
testcase_08 AC 321 ms
29,288 KB
testcase_09 AC 364 ms
31,516 KB
testcase_10 AC 145 ms
15,784 KB
testcase_11 AC 283 ms
25,800 KB
testcase_12 AC 182 ms
18,280 KB
testcase_13 AC 169 ms
17,528 KB
testcase_14 AC 308 ms
27,192 KB
testcase_15 AC 16 ms
6,608 KB
testcase_16 AC 29 ms
7,004 KB
testcase_17 AC 17 ms
6,184 KB
testcase_18 AC 27 ms
7,112 KB
testcase_19 AC 33 ms
7,604 KB
testcase_20 AC 47 ms
8,436 KB
testcase_21 AC 48 ms
8,604 KB
testcase_22 AC 83 ms
11,012 KB
testcase_23 AC 206 ms
19,380 KB
testcase_24 AC 274 ms
24,492 KB
testcase_25 AC 392 ms
31,780 KB
testcase_26 AC 403 ms
31,848 KB
testcase_27 AC 192 ms
31,832 KB
testcase_28 AC 346 ms
31,752 KB
testcase_29 AC 388 ms
31,912 KB
testcase_30 AC 397 ms
31,596 KB
testcase_31 AC 378 ms
30,724 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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