結果

問題 No.836 じょうよ
ユーザー c-yanc-yan
提出日時 2020-08-03 00:27:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 94 ms / 1,000 ms
コード長 216 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 16,768 KB
最終ジャッジ日時 2023-09-27 07:00:23
合計ジャッジ時間 4,438 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
13,092 KB
testcase_01 AC 16 ms
7,800 KB
testcase_02 AC 15 ms
7,752 KB
testcase_03 AC 15 ms
7,900 KB
testcase_04 AC 16 ms
7,824 KB
testcase_05 AC 15 ms
7,824 KB
testcase_06 AC 15 ms
7,832 KB
testcase_07 AC 16 ms
7,792 KB
testcase_08 AC 15 ms
7,852 KB
testcase_09 AC 16 ms
7,800 KB
testcase_10 AC 15 ms
7,900 KB
testcase_11 AC 20 ms
8,552 KB
testcase_12 AC 23 ms
8,776 KB
testcase_13 AC 19 ms
8,608 KB
testcase_14 AC 16 ms
8,312 KB
testcase_15 AC 22 ms
8,600 KB
testcase_16 AC 71 ms
13,300 KB
testcase_17 AC 63 ms
12,596 KB
testcase_18 AC 20 ms
8,536 KB
testcase_19 AC 24 ms
8,932 KB
testcase_20 AC 45 ms
11,236 KB
testcase_21 AC 16 ms
8,368 KB
testcase_22 AC 34 ms
9,596 KB
testcase_23 AC 55 ms
11,232 KB
testcase_24 AC 18 ms
8,588 KB
testcase_25 AC 30 ms
9,332 KB
testcase_26 AC 17 ms
8,324 KB
testcase_27 AC 16 ms
8,352 KB
testcase_28 AC 20 ms
8,752 KB
testcase_29 AC 17 ms
8,508 KB
testcase_30 AC 16 ms
8,424 KB
testcase_31 AC 21 ms
9,008 KB
testcase_32 AC 19 ms
8,568 KB
testcase_33 AC 17 ms
8,412 KB
testcase_34 AC 20 ms
8,564 KB
testcase_35 AC 21 ms
8,728 KB
testcase_36 AC 41 ms
10,652 KB
testcase_37 AC 39 ms
10,092 KB
testcase_38 AC 58 ms
13,296 KB
testcase_39 AC 44 ms
10,576 KB
testcase_40 AC 94 ms
16,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

a = [(r + 1) // n] * n
for i in range((r + 1) % n):
    a[i] += 1

b = [l // n] * n
for i in range(l % n):
    b[i] += 1

for i in range(n):
    a[i] -= b[i]

print(*a, sep='\n')
0