結果

問題 No.133 カードゲーム
ユーザー %20%20
提出日時 2018-06-04 17:31:10
言語 Perl
(5.38.2)
結果
AC  
実行時間 186 ms / 5,000 ms
コード長 115 bytes
コンパイル時間 864 ms
コンパイル使用メモリ 12,028 KB
実行使用メモリ 12,240 KB
最終ジャッジ日時 2023-09-12 22:12:26
合計ジャッジ時間 6,184 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 162 ms
12,128 KB
testcase_01 AC 157 ms
12,052 KB
testcase_02 AC 156 ms
12,124 KB
testcase_03 AC 144 ms
12,032 KB
testcase_04 AC 172 ms
11,940 KB
testcase_05 AC 183 ms
11,868 KB
testcase_06 AC 182 ms
12,052 KB
testcase_07 AC 183 ms
11,996 KB
testcase_08 AC 173 ms
11,832 KB
testcase_09 AC 171 ms
12,056 KB
testcase_10 AC 182 ms
11,844 KB
testcase_11 AC 183 ms
12,056 KB
testcase_12 AC 183 ms
12,240 KB
testcase_13 AC 159 ms
11,944 KB
testcase_14 AC 173 ms
11,916 KB
testcase_15 AC 172 ms
11,992 KB
testcase_16 AC 184 ms
12,052 KB
testcase_17 AC 180 ms
11,968 KB
testcase_18 AC 184 ms
11,844 KB
testcase_19 AC 183 ms
12,120 KB
testcase_20 AC 186 ms
12,052 KB
testcase_21 AC 183 ms
11,844 KB
testcase_22 AC 185 ms
11,940 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 5.
Main.pl syntax OK

ソースコード

diff #

<>;
@A=glob<>;
@B=glob<>;
print grep({@B[@C[1,0]]=@B[@C=(rand@B,rand@B)];
(grep$_>$B[$i++%@B],@A)>@A/2}1..1e5)/1e5
0