結果
問題 |
No.113 宝探し
|
ユーザー |
![]() |
提出日時 | 2017-01-30 23:35:54 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 4 ms / 5,000 ms |
コード長 | 49 bytes |
コンパイル時間 | 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
ソースコード
$$_++for<>=~/./g;print sqrt+($N-$S)**2+($E-$W)**2