結果
問題 |
No.583 鉄道同好会
|
ユーザー |
![]() |
提出日時 | 2017-10-30 01:21:49 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 1,478 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 337 ms |
コンパイル使用メモリ | 5,504 KB |
実行使用メモリ | 39,040 KB |
最終ジャッジ日時 | 2024-11-22 05:47:12 |
合計ジャッジ時間 | 11,022 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
コンパイルメッセージ
Smartmatch is deprecated at Main.pl line 1. Possible precedence problem on bitwise & operator at Main.pl line 1. Main.pl syntax OK
ソースコード
sub f{my$x=$_;$g[$_]or$g[$_]=1,map$$x[$_]&&&f,0..499}<>;map{$d[$_]^=$$_[$==$`+$&-$_]=$h[$_]=1for/\d+/g}<>;f$_=$=;print@g~~@h&grep($_,@d)<3?YES:NO