結果

問題 No.113 宝探し
コンテスト
ユーザー %20
提出日時 2017-01-30 23:35:54
言語 Perl
(5.42.0)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 49 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 337 ms
コンパイル使用メモリ 5,632 KB
実行使用メモリ 5,632 KB
最終ジャッジ日時 2024-11-16 21:30:27
合計ジャッジ時間 1,204 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
Warning: Use of "sqrt" without parentheses is ambiguous at Main.pl line 1.
Name "main::E" used only once: possible typo at Main.pl line 1.
Name "main::N" used only once: possible typo at Main.pl line 1.
Name "main::S" used only once: possible typo at Main.pl line 1.
Name "main::W" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

$$_++for<>=~/./g;print sqrt+($N-$S)**2+($E-$W)**2
0