結果

問題 No.2461 一点張り
ユーザー tailstails
提出日時 2023-09-08 21:31:08
言語 Perl
(5.38.2)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 71 bytes
コンパイル時間 456 ms
コンパイル使用メモリ 5,368 KB
実行使用メモリ 5,500 KB
最終ジャッジ日時 2023-09-08 21:31:10
合計ジャッジ時間 1,321 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,116 KB
testcase_01 AC 37 ms
5,340 KB
testcase_02 AC 36 ms
5,280 KB
testcase_03 AC 61 ms
5,500 KB
testcase_04 AC 37 ms
5,328 KB
testcase_05 AC 49 ms
5,388 KB
testcase_06 AC 37 ms
5,316 KB
testcase_07 AC 12 ms
5,352 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;for(<>){
($p,$k)=glob;
$z=0;
$z=(1-$p)*$z+1for 1..$k;
print$z,$/;
}
0