結果

問題 No.1177 余りは?
ユーザー dangodango
提出日時 2023-07-15 19:28:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 178 ms / 1,000 ms
コード長 85 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 81,540 KB
実行使用メモリ 75,784 KB
最終ジャッジ日時 2023-10-17 05:32:39
合計ジャッジ時間 5,537 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,576 KB
testcase_01 AC 178 ms
75,784 KB
testcase_02 AC 62 ms
70,760 KB
testcase_03 AC 122 ms
73,092 KB
testcase_04 AC 75 ms
71,584 KB
testcase_05 AC 85 ms
72,184 KB
testcase_06 AC 44 ms
57,280 KB
testcase_07 AC 43 ms
57,280 KB
testcase_08 AC 152 ms
74,652 KB
testcase_09 AC 137 ms
74,200 KB
testcase_10 AC 38 ms
53,184 KB
testcase_11 AC 92 ms
72,216 KB
testcase_12 AC 41 ms
57,280 KB
testcase_13 AC 48 ms
61,376 KB
testcase_14 AC 54 ms
67,520 KB
testcase_15 AC 70 ms
71,320 KB
testcase_16 AC 57 ms
69,156 KB
testcase_17 AC 157 ms
74,684 KB
testcase_18 AC 81 ms
71,772 KB
testcase_19 AC 105 ms
72,548 KB
testcase_20 AC 48 ms
61,376 KB
testcase_21 AC 94 ms
72,104 KB
testcase_22 AC 146 ms
74,436 KB
testcase_23 AC 83 ms
71,884 KB
testcase_24 AC 61 ms
70,728 KB
testcase_25 AC 124 ms
73,300 KB
testcase_26 AC 149 ms
74,544 KB
testcase_27 AC 47 ms
59,328 KB
testcase_28 AC 92 ms
72,260 KB
testcase_29 AC 87 ms
72,164 KB
testcase_30 AC 85 ms
72,124 KB
testcase_31 AC 104 ms
72,516 KB
testcase_32 AC 38 ms
53,184 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P, K = map(int, input().split())
print(((10 ** (P - 1) - K) // P + 1) % (1000000007))
0