結果

問題 No.836 じょうよ
ユーザー c-yanc-yan
提出日時 2020-08-03 00:19:27
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 16,880 KB
最終ジャッジ日時 2023-09-27 03:26:11
合計ジャッジ時間 3,504 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
13,048 KB
testcase_01 AC 16 ms
7,916 KB
testcase_02 AC 15 ms
7,880 KB
testcase_03 AC 16 ms
7,784 KB
testcase_04 AC 16 ms
7,860 KB
testcase_05 AC 15 ms
7,924 KB
testcase_06 AC 15 ms
7,804 KB
testcase_07 AC 16 ms
7,768 KB
testcase_08 AC 16 ms
7,820 KB
testcase_09 WA -
testcase_10 AC 15 ms
7,820 KB
testcase_11 AC 21 ms
8,600 KB
testcase_12 AC 24 ms
8,924 KB
testcase_13 AC 20 ms
8,552 KB
testcase_14 AC 17 ms
8,400 KB
testcase_15 AC 23 ms
8,660 KB
testcase_16 AC 73 ms
13,264 KB
testcase_17 AC 64 ms
12,496 KB
testcase_18 AC 20 ms
8,516 KB
testcase_19 AC 25 ms
8,936 KB
testcase_20 AC 46 ms
11,280 KB
testcase_21 AC 17 ms
8,404 KB
testcase_22 AC 34 ms
9,572 KB
testcase_23 AC 56 ms
11,120 KB
testcase_24 AC 20 ms
8,704 KB
testcase_25 AC 31 ms
9,392 KB
testcase_26 AC 16 ms
8,372 KB
testcase_27 AC 17 ms
8,396 KB
testcase_28 AC 20 ms
8,808 KB
testcase_29 AC 18 ms
8,560 KB
testcase_30 AC 16 ms
8,452 KB
testcase_31 AC 23 ms
9,012 KB
testcase_32 AC 20 ms
8,548 KB
testcase_33 AC 17 ms
8,364 KB
testcase_34 AC 20 ms
8,580 KB
testcase_35 AC 21 ms
8,732 KB
testcase_36 AC 42 ms
10,620 KB
testcase_37 AC 41 ms
10,100 KB
testcase_38 AC 60 ms
13,368 KB
testcase_39 AC 46 ms
10,712 KB
testcase_40 AC 95 ms
16,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

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

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

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