結果

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

コンパイルメッセージ
Bareword found where operator expected at Main.pl line 1, near "/\d+/gfor a"
	(Missing operator before a?)
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "c" 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