結果

問題 No.467 隠されていたゲーム
ユーザー tailstails
提出日時 2016-12-17 00:45:37
言語 Perl
(5.38.2)
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 84 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 7,072 KB
最終ジャッジ日時 2024-04-15 04:40:06
合計ジャッジ時間 643 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
Bareword found where operator expected (Missing operator before "a"?) at Main.pl line 1, near "/\d+/gfor a"
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unknown regexp modifier "/f" at Main.pl line 1, at end of line
Unknown regexp modifier "/r" at Main.pl line 1, at end of line
syntax error at Main.pl line 1, near "/\d+/gfor a"
Main.pl had compilation errors.

ソースコード

diff #

($$_)=@$_=sort{$b-$a}<>=~/\d+/gfor a..c;print+($==($c+$b-1)/$b)+($===!grep$c==$_,@b)
0