結果

問題 No.741 AscNumber(Easy)
ユーザー lllllll88938494lllllll88938494
提出日時 2022-10-07 21:20:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 201 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 87,324 KB
実行使用メモリ 76,856 KB
最終ジャッジ日時 2023-09-02 23:32:38
合計ジャッジ時間 8,739 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,316 KB
testcase_01 AC 65 ms
71,224 KB
testcase_02 AC 63 ms
71,448 KB
testcase_03 AC 65 ms
71,100 KB
testcase_04 AC 63 ms
71,336 KB
testcase_05 AC 64 ms
71,312 KB
testcase_06 AC 65 ms
71,124 KB
testcase_07 AC 64 ms
71,380 KB
testcase_08 AC 66 ms
71,232 KB
testcase_09 AC 65 ms
71,228 KB
testcase_10 AC 65 ms
71,052 KB
testcase_11 AC 64 ms
71,272 KB
testcase_12 AC 63 ms
71,052 KB
testcase_13 AC 64 ms
71,216 KB
testcase_14 AC 65 ms
71,064 KB
testcase_15 AC 63 ms
71,432 KB
testcase_16 AC 64 ms
71,308 KB
testcase_17 AC 64 ms
71,580 KB
testcase_18 AC 64 ms
71,216 KB
testcase_19 AC 63 ms
71,240 KB
testcase_20 AC 72 ms
76,124 KB
testcase_21 AC 71 ms
76,188 KB
testcase_22 AC 72 ms
76,396 KB
testcase_23 AC 72 ms
76,300 KB
testcase_24 AC 71 ms
76,416 KB
testcase_25 AC 72 ms
76,416 KB
testcase_26 AC 70 ms
76,380 KB
testcase_27 AC 72 ms
76,448 KB
testcase_28 AC 73 ms
76,328 KB
testcase_29 AC 72 ms
76,208 KB
testcase_30 AC 72 ms
76,280 KB
testcase_31 AC 72 ms
76,068 KB
testcase_32 AC 69 ms
71,336 KB
testcase_33 AC 72 ms
76,420 KB
testcase_34 AC 73 ms
76,544 KB
testcase_35 AC 201 ms
76,408 KB
testcase_36 AC 127 ms
76,836 KB
testcase_37 AC 140 ms
76,600 KB
testcase_38 AC 135 ms
76,700 KB
testcase_39 AC 127 ms
76,856 KB
testcase_40 AC 141 ms
76,660 KB
testcase_41 AC 183 ms
76,772 KB
testcase_42 AC 128 ms
76,724 KB
testcase_43 AC 114 ms
76,752 KB
testcase_44 AC 155 ms
76,408 KB
testcase_45 AC 170 ms
76,836 KB
testcase_46 AC 182 ms
76,408 KB
testcase_47 AC 90 ms
76,332 KB
testcase_48 AC 186 ms
76,816 KB
testcase_49 AC 170 ms
76,604 KB
testcase_50 AC 85 ms
76,424 KB
testcase_51 AC 117 ms
76,788 KB
testcase_52 AC 195 ms
76,816 KB
testcase_53 AC 195 ms
76,608 KB
testcase_54 AC 190 ms
76,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
dp=[0]*11
dp[1] = 1
mod=1000000007

for i in range(n+1):
    for r in range(1,11):
        dp[r] += dp[r-1]
        dp[r] %= mod
print(dp[-1]%mod)
0