結果

問題 No.1177 余りは?
ユーザー shobonvipshobonvip
提出日時 2023-10-30 00:43:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 166 ms / 1,000 ms
コード長 70 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 81,840 KB
実行使用メモリ 75,688 KB
最終ジャッジ日時 2023-10-30 00:43:56
合計ジャッジ時間 4,578 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,740 KB
testcase_01 AC 166 ms
75,688 KB
testcase_02 AC 63 ms
71,088 KB
testcase_03 AC 116 ms
73,116 KB
testcase_04 AC 71 ms
71,752 KB
testcase_05 AC 80 ms
72,328 KB
testcase_06 AC 43 ms
57,612 KB
testcase_07 AC 42 ms
57,612 KB
testcase_08 AC 145 ms
74,624 KB
testcase_09 AC 127 ms
74,208 KB
testcase_10 AC 36 ms
53,516 KB
testcase_11 AC 85 ms
72,336 KB
testcase_12 AC 39 ms
57,612 KB
testcase_13 AC 43 ms
59,660 KB
testcase_14 AC 49 ms
67,852 KB
testcase_15 AC 65 ms
71,504 KB
testcase_16 AC 55 ms
69,376 KB
testcase_17 AC 164 ms
74,648 KB
testcase_18 AC 78 ms
71,924 KB
testcase_19 AC 100 ms
72,632 KB
testcase_20 AC 45 ms
61,708 KB
testcase_21 AC 87 ms
72,212 KB
testcase_22 AC 136 ms
74,424 KB
testcase_23 AC 78 ms
72,024 KB
testcase_24 AC 60 ms
71,048 KB
testcase_25 AC 119 ms
73,340 KB
testcase_26 AC 148 ms
74,528 KB
testcase_27 AC 47 ms
59,660 KB
testcase_28 AC 88 ms
72,368 KB
testcase_29 AC 83 ms
72,292 KB
testcase_30 AC 79 ms
72,268 KB
testcase_31 AC 98 ms
72,608 KB
testcase_32 AC 36 ms
53,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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