結果
問題 | No.583 鉄道同好会 |
ユーザー |
![]() |
提出日時 | 2017-10-30 01:24:23 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 466 ms / 2,000 ms |
コード長 | 137 bytes |
コンパイル時間 | 148 ms |
コンパイル使用メモリ | 5,504 KB |
実行使用メモリ | 39,424 KB |
最終ジャッジ日時 | 2024-11-22 05:48:12 |
合計ジャッジ時間 | 3,405 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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