結果

問題 No.523 LED
ユーザー tailstails
提出日時 2017-06-02 22:34:42
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 109 bytes
コンパイル時間 361 ms
コンパイル使用メモリ 5,220 KB
実行使用メモリ 5,304 KB
最終ジャッジ日時 2023-10-21 21:05:29
合計ジャッジ時間 13,892 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,304 KB
testcase_01 AC 3 ms
5,304 KB
testcase_02 AC 31 ms
5,304 KB
testcase_03 AC 3 ms
5,304 KB
testcase_04 AC 3 ms
5,304 KB
testcase_05 TLE -
testcase_06 AC 3 ms
5,304 KB
testcase_07 AC 3 ms
5,304 KB
testcase_08 AC 3 ms
5,304 KB
testcase_09 AC 19 ms
5,304 KB
testcase_10 AC 3 ms
5,304 KB
testcase_11 AC 4 ms
5,304 KB
testcase_12 AC 4 ms
5,304 KB
testcase_13 AC 457 ms
5,304 KB
testcase_14 AC 3 ms
5,304 KB
testcase_15 AC 6 ms
5,304 KB
testcase_16 AC 3 ms
5,304 KB
testcase_17 AC 6 ms
5,304 KB
testcase_18 TLE -
testcase_19 AC 847 ms
5,304 KB
testcase_20 AC 751 ms
5,304 KB
testcase_21 AC 1,769 ms
5,304 KB
testcase_22 AC 1,976 ms
5,304 KB
testcase_23 AC 1,988 ms
5,304 KB
testcase_24 AC 45 ms
5,304 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$m=1000000007;
$h=500000004;
$n=<>;

$a=1;
for(1..$n*2){
	$a=$a*$_%$m;
}
for(1..$n){
	$a=$a*$h%$m;
}
print$a;
0