結果
| 問題 | No.199 星を描こう |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2015-04-30 19:18:29 |
| 言語 | Perl (5.44.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 2,000 ms |
| + 826µs | |
| コード長 | 213 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 7,848 KB |
| 実行使用メモリ | 9,868 KB |
| 最終ジャッジ日時 | 2026-10-10 13:11:49 |
| 合計ジャッジ時間 | 1,751 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
コンパイルメッセージ
Name "main::Y2" used only once: possible typo at Main.pl line 1. Name "main::X2" used only once: possible typo at Main.pl line 1. Name "main::Y3" used only once: possible typo at Main.pl line 1. Name "main::X3" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
$\=YES;sub g{$_[$_]=~$",${X.$_}=$`-$X0,${Y.$_}=$'-$Y0 for($X0=$Y0=0)..3;($X1*$Y2-$Y1*$X2)*($X1*$Y3-$Y1*$X3)<0}sub f{g@_ or g@_[1,2,0,3]or g@_[2,0,1,3]or$\=NO}@z=<>;/(.).*\1/||f@z[/./g]for glob'{0,1,2,3,4}'x4;print
tails