結果

問題 No.675 ドットちゃんたち
ユーザー tails
提出日時 2021-07-02 10:55:42
言語 Perl
(5.40.0)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 27,264 KB
最終ジャッジ日時 2024-06-28 20:44:47
合計ジャッジ時間 2,468 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
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