結果

問題 No.836 じょうよ
ユーザー yomo3yomo3
提出日時 2020-02-18 09:57:39
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 280 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 17,888 KB
最終ジャッジ日時 2023-07-28 20:12:12
合計ジャッジ時間 3,019 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
13,828 KB
testcase_01 AC 16 ms
7,924 KB
testcase_02 AC 16 ms
7,800 KB
testcase_03 AC 15 ms
7,800 KB
testcase_04 AC 15 ms
7,812 KB
testcase_05 AC 15 ms
7,852 KB
testcase_06 AC 15 ms
7,824 KB
testcase_07 AC 16 ms
7,808 KB
testcase_08 AC 16 ms
7,852 KB
testcase_09 AC 15 ms
7,872 KB
testcase_10 AC 15 ms
7,812 KB
testcase_11 AC 20 ms
8,836 KB
testcase_12 AC 22 ms
9,068 KB
testcase_13 AC 19 ms
8,896 KB
testcase_14 AC 16 ms
8,216 KB
testcase_15 AC 20 ms
8,956 KB
testcase_16 AC 63 ms
15,460 KB
testcase_17 AC 56 ms
13,180 KB
testcase_18 AC 19 ms
8,816 KB
testcase_19 AC 23 ms
9,104 KB
testcase_20 AC 41 ms
12,568 KB
testcase_21 AC 17 ms
8,360 KB
testcase_22 AC 31 ms
9,516 KB
testcase_23 AC 51 ms
11,340 KB
testcase_24 AC 18 ms
8,616 KB
testcase_25 AC 28 ms
9,404 KB
testcase_26 AC 16 ms
8,276 KB
testcase_27 AC 16 ms
8,528 KB
testcase_28 AC 20 ms
8,880 KB
testcase_29 AC 17 ms
8,464 KB
testcase_30 AC 16 ms
8,316 KB
testcase_31 AC 21 ms
9,132 KB
testcase_32 AC 19 ms
8,768 KB
testcase_33 AC 17 ms
8,492 KB
testcase_34 AC 19 ms
8,736 KB
testcase_35 AC 20 ms
8,992 KB
testcase_36 AC 38 ms
10,900 KB
testcase_37 AC 36 ms
10,652 KB
testcase_38 AC 50 ms
13,456 KB
testcase_39 AC 40 ms
10,912 KB
testcase_40 AC 78 ms
17,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def f(dividend, divisor):
    res = [dividend // divisor] * divisor
    r = dividend % divisor
    for i in range(1, r + 1):
        res[i] += 1
    return res

l, r, n = map(int, input().split())

fr = f(r, n)
fl = f(l - 1, n)

print(*[fr[i] - fl[i] for i in range(n)], sep='\n')
0