結果

問題 No.836 じょうよ
ユーザー titiatitia
提出日時 2019-06-14 21:29:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 90 ms / 1,000 ms
コード長 165 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 10,456 KB
実行使用メモリ 9,892 KB
最終ジャッジ日時 2023-08-08 14:46:34
合計ジャッジ時間 3,329 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
8,956 KB
testcase_01 AC 15 ms
7,860 KB
testcase_02 AC 15 ms
7,792 KB
testcase_03 AC 15 ms
7,960 KB
testcase_04 AC 15 ms
7,808 KB
testcase_05 AC 16 ms
7,748 KB
testcase_06 AC 14 ms
7,848 KB
testcase_07 AC 15 ms
7,772 KB
testcase_08 AC 14 ms
7,872 KB
testcase_09 AC 14 ms
7,860 KB
testcase_10 AC 15 ms
7,848 KB
testcase_11 AC 20 ms
8,312 KB
testcase_12 AC 23 ms
8,320 KB
testcase_13 AC 21 ms
8,220 KB
testcase_14 AC 16 ms
7,788 KB
testcase_15 AC 22 ms
8,240 KB
testcase_16 AC 81 ms
9,212 KB
testcase_17 AC 77 ms
9,492 KB
testcase_18 AC 21 ms
8,304 KB
testcase_19 AC 28 ms
8,844 KB
testcase_20 AC 58 ms
9,892 KB
testcase_21 AC 17 ms
8,096 KB
testcase_22 AC 42 ms
8,600 KB
testcase_23 AC 74 ms
8,624 KB
testcase_24 AC 20 ms
8,516 KB
testcase_25 AC 35 ms
8,620 KB
testcase_26 AC 16 ms
7,828 KB
testcase_27 AC 16 ms
8,220 KB
testcase_28 AC 21 ms
8,500 KB
testcase_29 AC 17 ms
8,352 KB
testcase_30 AC 16 ms
7,776 KB
testcase_31 AC 23 ms
8,456 KB
testcase_32 AC 21 ms
8,456 KB
testcase_33 AC 16 ms
7,772 KB
testcase_34 AC 20 ms
8,448 KB
testcase_35 AC 21 ms
8,532 KB
testcase_36 AC 48 ms
8,356 KB
testcase_37 AC 46 ms
8,620 KB
testcase_38 AC 62 ms
8,684 KB
testcase_39 AC 52 ms
8,868 KB
testcase_40 AC 90 ms
9,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ANS=(r-l)//n

ANSLIST=[ANS]*n
for i in range(n):
    if l+i+ANS*n<=r:
        ANSLIST[(l+i)%n]+=1

for ans in ANSLIST:
    print(ans)
0