結果

問題 No.492 IOI数列
ユーザー tailstails
提出日時 2017-03-10 23:40:40
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 837 ms
コンパイル使用メモリ 11,172 KB
実行使用メモリ 11,396 KB
最終ジャッジ日時 2023-09-06 14:35:34
合計ジャッジ時間 2,825 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,164 KB
testcase_01 AC 42 ms
11,036 KB
testcase_02 WA -
testcase_03 AC 42 ms
11,048 KB
testcase_04 AC 41 ms
11,268 KB
testcase_05 AC 40 ms
11,232 KB
testcase_06 AC 41 ms
11,096 KB
testcase_07 AC 42 ms
11,160 KB
testcase_08 AC 42 ms
11,396 KB
testcase_09 AC 42 ms
11,316 KB
testcase_10 AC 42 ms
11,080 KB
testcase_11 AC 41 ms
11,172 KB
testcase_12 AC 41 ms
11,280 KB
testcase_13 AC 40 ms
11,096 KB
testcase_14 AC 40 ms
11,280 KB
testcase_15 AC 41 ms
11,228 KB
testcase_16 AC 41 ms
11,276 KB
testcase_17 AC 41 ms
11,320 KB
testcase_18 AC 41 ms
11,184 KB
testcase_19 AC 41 ms
11,188 KB
testcase_20 AC 40 ms
11,156 KB
testcase_21 AC 41 ms
11,096 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

use bigint;
$m1=1000000007;
$n=<>+0;
print +(100->bmodpow($n,$m1)+($m1-1))*99->bmodinv($m1)%$m1,$/;
print +10x(($n-1)%11),"1\n";
0