結果

問題 No.629 グラフの中に眠る門松列
ユーザー %20%20
提出日時 2018-01-05 23:57:28
言語 Perl
(5.38.0)
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 121 bytes
コンパイル時間 29 ms
コンパイル使用メモリ 5,300 KB
最終ジャッジ日時 2023-08-24 21:21:05
合計ジャッジ時間 390 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
Backticks found where operator expected at Main.pl line 2, near "$
$`{$a[$'-1]}=${$'+0}{$a[$`"
	(Missing operator before `{$a[$'-1]}=${$'+0}{$a[$`?)
Possible precedence problem on bitwise | operator at Main.pl line 2.
Array found where operator expected at Main.pl line 2, near "}@a"
	(Missing operator before @a?)
syntax error at Main.pl line 2, near "$
$`{$a[$'-1]}=${$'+0}{$a[$`"
Unmatched right curly bracket at Main.pl line 2, at end of line
Unmatched right curly bracket at Main.pl line 2, at end of line
syntax error at Main.pl line 2, near "@_}"
Main.pl had compilation errors.

ソースコード

diff #

print<>*grep({/ /,$
$`{$a[$'-1]}=${$'+0}{$a[$`-1]}=0for<>;(/^/<grep$_>$',@_=keys%{++$i})|1<grep$_<$',@_}@a=glob<>)?YES:NO
0