結果

問題 No.675 ドットちゃんたち
ユーザー tailstails
提出日時 2021-07-02 10:55:42
言語 Perl
(5.38.0)
結果
AC  
実行時間 258 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 713 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 26,288 KB
最終ジャッジ日時 2023-09-11 06:32:59
合計ジャッジ時間 3,571 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,252 KB
testcase_01 AC 6 ms
5,200 KB
testcase_02 AC 6 ms
5,216 KB
testcase_03 AC 6 ms
5,128 KB
testcase_04 AC 6 ms
5,256 KB
testcase_05 AC 166 ms
24,748 KB
testcase_06 AC 258 ms
26,288 KB
testcase_07 AC 174 ms
23,860 KB
testcase_08 AC 185 ms
25,796 KB
testcase_09 AC 190 ms
25,688 KB
testcase_10 AC 197 ms
26,252 KB
testcase_11 AC 194 ms
25,532 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$x,$y)=glob<>;print sort{1}map"@{/^3/?($x,$y)=($y,-$x,++$r):((($s=$r-$_)&/ /?$u:$v)+=$s&2?$':-$'),[$x+$u,$y+$v]}
",sort{1}<>
0