結果

問題 No.836 じょうよ
ユーザー gorugo30gorugo30
提出日時 2021-02-24 20:21:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 1,000 ms
コード長 216 bytes
コンパイル時間 1,054 ms
コンパイル使用メモリ 81,484 KB
実行使用メモリ 78,252 KB
最終ジャッジ日時 2023-10-25 01:25:23
合計ジャッジ時間 5,020 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
77,220 KB
testcase_01 AC 36 ms
53,352 KB
testcase_02 AC 37 ms
53,352 KB
testcase_03 AC 36 ms
53,352 KB
testcase_04 AC 36 ms
53,352 KB
testcase_05 AC 36 ms
53,352 KB
testcase_06 AC 36 ms
53,352 KB
testcase_07 AC 36 ms
53,352 KB
testcase_08 AC 37 ms
53,352 KB
testcase_09 AC 37 ms
53,352 KB
testcase_10 AC 37 ms
53,352 KB
testcase_11 AC 50 ms
64,324 KB
testcase_12 AC 50 ms
64,324 KB
testcase_13 AC 50 ms
64,324 KB
testcase_14 AC 47 ms
62,248 KB
testcase_15 AC 49 ms
64,324 KB
testcase_16 AC 64 ms
77,516 KB
testcase_17 AC 61 ms
76,152 KB
testcase_18 AC 50 ms
64,324 KB
testcase_19 AC 51 ms
64,324 KB
testcase_20 AC 54 ms
71,656 KB
testcase_21 AC 47 ms
62,248 KB
testcase_22 AC 51 ms
69,464 KB
testcase_23 AC 61 ms
77,648 KB
testcase_24 AC 49 ms
62,260 KB
testcase_25 AC 52 ms
67,160 KB
testcase_26 AC 49 ms
62,248 KB
testcase_27 AC 47 ms
62,248 KB
testcase_28 AC 50 ms
64,324 KB
testcase_29 AC 48 ms
62,248 KB
testcase_30 AC 48 ms
62,248 KB
testcase_31 AC 50 ms
64,324 KB
testcase_32 AC 48 ms
62,248 KB
testcase_33 AC 47 ms
62,248 KB
testcase_34 AC 48 ms
62,248 KB
testcase_35 AC 50 ms
64,324 KB
testcase_36 AC 54 ms
71,816 KB
testcase_37 AC 54 ms
71,724 KB
testcase_38 AC 56 ms
74,372 KB
testcase_39 AC 54 ms
71,996 KB
testcase_40 AC 64 ms
78,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l, r, n = map(int, input().split())
cnt = [r // n] * n
for i in range(r % n + 1):
    cnt[i] += 1
for i in range(n):
    cnt[i] -= (l - 1) // n
for i in range((l - 1) % n + 1):
    cnt[i] -= 1
print(*cnt, sep = "\n")
0