結果

問題 No.1944 ∞
ユーザー tailstails
提出日時 2022-05-20 21:38:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 347 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 510 ms
コンパイル使用メモリ 6,144 KB
実行使用メモリ 65,724 KB
最終ジャッジ日時 2023-10-20 12:01:53
合計ジャッジ時間 3,492 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,228 KB
testcase_01 AC 7 ms
6,224 KB
testcase_02 AC 7 ms
6,220 KB
testcase_03 AC 7 ms
6,224 KB
testcase_04 AC 7 ms
6,220 KB
testcase_05 AC 8 ms
6,224 KB
testcase_06 AC 7 ms
6,232 KB
testcase_07 AC 8 ms
6,220 KB
testcase_08 AC 8 ms
6,220 KB
testcase_09 AC 8 ms
6,220 KB
testcase_10 AC 8 ms
6,220 KB
testcase_11 AC 7 ms
6,220 KB
testcase_12 AC 7 ms
6,224 KB
testcase_13 AC 8 ms
6,220 KB
testcase_14 AC 8 ms
6,224 KB
testcase_15 AC 347 ms
65,724 KB
testcase_16 AC 30 ms
10,392 KB
testcase_17 AC 18 ms
8,292 KB
testcase_18 AC 33 ms
8,832 KB
testcase_19 AC 14 ms
6,988 KB
testcase_20 AC 34 ms
9,092 KB
testcase_21 AC 33 ms
8,900 KB
testcase_22 AC 22 ms
7,836 KB
testcase_23 AC 13 ms
6,836 KB
testcase_24 AC 18 ms
7,284 KB
testcase_25 AC 40 ms
9,556 KB
testcase_26 AC 38 ms
9,476 KB
testcase_27 AC 35 ms
9,220 KB
testcase_28 AC 24 ms
8,076 KB
testcase_29 AC 11 ms
6,736 KB
testcase_30 AC 36 ms
9,392 KB
testcase_31 AC 25 ms
8,188 KB
testcase_32 AC 31 ms
8,844 KB
testcase_33 AC 335 ms
64,748 KB
testcase_34 AC 331 ms
64,744 KB
testcase_35 AC 339 ms
64,748 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($n,$x,$y)=glob<>;
$r+=$_*2for@r=sort{$a-$b}glob<>;
$r-=$r[0];
$d=$r*$r-$x*$x-$y*$y;
print+($n==1?$d!=0:$d<0)?No:Yes
0