結果

問題 No.793 うし数列 2
ユーザー yakeshibayakeshiba
提出日時 2020-11-01 01:03:19
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 105 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 79,968 KB
最終ジャッジ日時 2023-09-29 10:55:20
合計ジャッジ時間 5,341 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
75,860 KB
testcase_01 AC 68 ms
71,268 KB
testcase_02 AC 71 ms
71,272 KB
testcase_03 AC 68 ms
71,580 KB
testcase_04 AC 68 ms
71,176 KB
testcase_05 AC 73 ms
75,832 KB
testcase_06 AC 84 ms
75,732 KB
testcase_07 AC 77 ms
75,760 KB
testcase_08 AC 83 ms
75,780 KB
testcase_09 AC 82 ms
75,748 KB
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 10**9+7

n = int(input())
s = 1
for i in range(n):
    s = s*10%mod
    s = (s+3)%mod
    
print(s)
0