結果

問題 No.24 数当てゲーム
ユーザー なおなお
提出日時 2014-12-17 04:01:57
言語 Perl
(5.38.2)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 95 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 5,348 KB
実行使用メモリ 4,772 KB
最終ジャッジ日時 2023-09-02 18:30:12
合計ジャッジ時間 1,197 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,640 KB
testcase_01 AC 3 ms
4,772 KB
testcase_02 AC 3 ms
4,620 KB
testcase_03 AC 2 ms
4,748 KB
testcase_04 AC 3 ms
4,688 KB
testcase_05 AC 2 ms
4,532 KB
testcase_06 AC 3 ms
4,592 KB
testcase_07 AC 2 ms
4,760 KB
testcase_08 AC 3 ms
4,540 KB
testcase_09 AC 3 ms
4,460 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;while(<>){@_=/\S/g;$v+=1<<$_ for@_[0..3];$k|=$_[4]eq Y?~$v:$v;$v=0}$v++while$k>>$v&1;print$v
0