結果

問題 No.836 じょうよ
ユーザー ohanaohana
提出日時 2023-10-27 11:39:04
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 81,820 KB
実行使用メモリ 75,836 KB
最終ジャッジ日時 2023-10-27 11:39:09
合計ジャッジ時間 4,540 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
75,716 KB
testcase_01 AC 33 ms
53,464 KB
testcase_02 AC 33 ms
53,464 KB
testcase_03 WA -
testcase_04 AC 36 ms
53,464 KB
testcase_05 AC 35 ms
53,464 KB
testcase_06 WA -
testcase_07 AC 34 ms
53,464 KB
testcase_08 AC 34 ms
53,464 KB
testcase_09 AC 34 ms
53,464 KB
testcase_10 AC 34 ms
53,464 KB
testcase_11 AC 56 ms
66,548 KB
testcase_12 AC 62 ms
66,548 KB
testcase_13 AC 52 ms
66,548 KB
testcase_14 AC 41 ms
59,020 KB
testcase_15 AC 50 ms
64,456 KB
testcase_16 AC 66 ms
75,836 KB
testcase_17 WA -
testcase_18 AC 52 ms
66,548 KB
testcase_19 WA -
testcase_20 AC 56 ms
72,692 KB
testcase_21 AC 48 ms
64,456 KB
testcase_22 AC 57 ms
70,644 KB
testcase_23 AC 59 ms
75,688 KB
testcase_24 AC 48 ms
64,456 KB
testcase_25 AC 53 ms
68,596 KB
testcase_26 AC 39 ms
59,020 KB
testcase_27 AC 45 ms
61,852 KB
testcase_28 AC 55 ms
68,636 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 AC 55 ms
72,692 KB
testcase_37 AC 55 ms
72,692 KB
testcase_38 AC 57 ms
73,624 KB
testcase_39 AC 55 ms
72,692 KB
testcase_40 AC 66 ms
75,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l, r, n = map(int, input().split())
t = r - l + 1

if (m := t % n) == 0:
    for i in range(n):
        print(t // n)
else:
    for i in range(ln := l % n):
        print(t // n)
    for i in range(m):
        print(t // n + 1)
    for i in range(n - ln - m):
        print(t // n)
0