結果

問題 No.199 星を描こう
ユーザー tailstails
提出日時 2015-04-30 19:08:42
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 210 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 5,424 KB
実行使用メモリ 5,520 KB
最終ジャッジ日時 2023-09-19 04:41:51
合計ジャッジ時間 2,033 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
5,200 KB
testcase_01 AC 8 ms
5,200 KB
testcase_02 AC 9 ms
5,436 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 9 ms
5,152 KB
testcase_15 AC 9 ms
5,224 KB
testcase_16 AC 9 ms
5,124 KB
testcase_17 AC 9 ms
5,224 KB
testcase_18 AC 8 ms
5,156 KB
testcase_19 AC 8 ms
5,328 KB
testcase_20 AC 8 ms
5,212 KB
testcase_21 WA -
testcase_22 AC 9 ms
5,204 KB
testcase_23 AC 9 ms
5,216 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 8 ms
5,192 KB
testcase_27 AC 8 ms
5,420 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.
Name "main::X2" used only once: possible typo at Main.pl line 1.
Name "main::Y2" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$\=YES;sub g{pop=~$",${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
0