結果

問題 No.161 制限ジャンケン
ユーザー tailstails
提出日時 2015-03-07 22:42:29
言語 Perl
(5.38.0)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 84 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 5,236 KB
実行使用メモリ 4,780 KB
最終ジャッジ日時 2023-08-20 04:24:17
合計ジャッジ時間 1,210 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,488 KB
testcase_01 AC 3 ms
4,452 KB
testcase_02 AC 3 ms
4,448 KB
testcase_03 AC 3 ms
4,692 KB
testcase_04 AC 2 ms
4,688 KB
testcase_05 AC 3 ms
4,472 KB
testcase_06 AC 3 ms
4,524 KB
testcase_07 AC 3 ms
4,572 KB
testcase_08 AC 3 ms
4,700 KB
testcase_09 AC 3 ms
4,576 KB
testcase_10 AC 2 ms
4,672 KB
testcase_11 AC 3 ms
4,568 KB
testcase_12 AC 2 ms
4,572 KB
testcase_13 AC 3 ms
4,772 KB
testcase_14 AC 3 ms
4,520 KB
testcase_15 AC 3 ms
4,712 KB
testcase_16 AC 3 ms
4,712 KB
testcase_17 AC 3 ms
4,780 KB
testcase_18 AC 3 ms
4,764 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

#!perl -pa
$_=<>;for$f(@F,@F){++$s,$f--while$f&&s/C//;++$i==3?$s*=3:y/GCP/PGC/}$_=$s
0