結果

問題 No.1177 余りは?
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-07-20 19:46:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 279 ms / 1,000 ms
コード長 66 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 9,776 KB
最終ジャッジ日時 2023-08-05 08:55:30
合計ジャッジ時間 4,872 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
8,732 KB
testcase_01 AC 279 ms
9,776 KB
testcase_02 AC 56 ms
8,516 KB
testcase_03 AC 167 ms
9,212 KB
testcase_04 AC 74 ms
8,648 KB
testcase_05 AC 97 ms
8,756 KB
testcase_06 AC 26 ms
8,252 KB
testcase_07 AC 25 ms
8,196 KB
testcase_08 AC 220 ms
9,352 KB
testcase_09 AC 185 ms
9,424 KB
testcase_10 AC 17 ms
7,820 KB
testcase_11 AC 109 ms
8,944 KB
testcase_12 AC 22 ms
8,196 KB
testcase_13 AC 34 ms
8,452 KB
testcase_14 AC 43 ms
8,456 KB
testcase_15 AC 66 ms
8,700 KB
testcase_16 AC 49 ms
8,536 KB
testcase_17 AC 230 ms
9,392 KB
testcase_18 AC 85 ms
8,788 KB
testcase_19 AC 139 ms
9,124 KB
testcase_20 AC 34 ms
8,460 KB
testcase_21 AC 115 ms
8,988 KB
testcase_22 AC 206 ms
9,436 KB
testcase_23 AC 87 ms
8,728 KB
testcase_24 AC 51 ms
8,524 KB
testcase_25 AC 166 ms
9,196 KB
testcase_26 AC 215 ms
9,424 KB
testcase_27 AC 33 ms
8,344 KB
testcase_28 AC 109 ms
8,896 KB
testcase_29 AC 97 ms
8,816 KB
testcase_30 AC 93 ms
8,880 KB
testcase_31 AC 138 ms
9,072 KB
testcase_32 AC 15 ms
7,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p,k=map(int,input().split())
print(((10**(p-1)-k)//p+1)%(10**9+7))
0