結果

問題 No.836 じょうよ
ユーザー brthyyjpbrthyyjp
提出日時 2021-11-29 11:08:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 1,000 ms
コード長 146 bytes
コンパイル時間 386 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 80,044 KB
最終ジャッジ日時 2023-09-15 03:31:27
合計ジャッジ時間 5,822 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 101 ms
79,108 KB
testcase_01 AC 74 ms
71,340 KB
testcase_02 AC 74 ms
71,256 KB
testcase_03 AC 71 ms
71,448 KB
testcase_04 AC 75 ms
71,496 KB
testcase_05 AC 75 ms
71,316 KB
testcase_06 AC 73 ms
71,108 KB
testcase_07 AC 74 ms
71,228 KB
testcase_08 AC 75 ms
71,316 KB
testcase_09 AC 74 ms
71,308 KB
testcase_10 AC 75 ms
71,548 KB
testcase_11 AC 89 ms
76,420 KB
testcase_12 AC 87 ms
76,608 KB
testcase_13 AC 87 ms
76,764 KB
testcase_14 AC 84 ms
76,724 KB
testcase_15 AC 86 ms
76,724 KB
testcase_16 AC 99 ms
79,068 KB
testcase_17 AC 100 ms
79,020 KB
testcase_18 AC 90 ms
76,624 KB
testcase_19 AC 88 ms
76,772 KB
testcase_20 AC 93 ms
77,932 KB
testcase_21 AC 85 ms
76,596 KB
testcase_22 AC 90 ms
77,736 KB
testcase_23 AC 96 ms
79,396 KB
testcase_24 AC 85 ms
76,396 KB
testcase_25 AC 89 ms
77,460 KB
testcase_26 AC 84 ms
76,404 KB
testcase_27 AC 85 ms
76,692 KB
testcase_28 AC 87 ms
76,648 KB
testcase_29 AC 82 ms
76,592 KB
testcase_30 AC 83 ms
76,612 KB
testcase_31 AC 86 ms
76,540 KB
testcase_32 AC 84 ms
76,640 KB
testcase_33 AC 82 ms
76,396 KB
testcase_34 AC 85 ms
76,700 KB
testcase_35 AC 88 ms
76,384 KB
testcase_36 AC 91 ms
78,196 KB
testcase_37 AC 90 ms
77,816 KB
testcase_38 AC 93 ms
78,268 KB
testcase_39 AC 92 ms
78,224 KB
testcase_40 AC 98 ms
80,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l, r, n = map(int, input().split())
ans = [0]*n
for i in range(n):
    p = (l-i+n-1)//n
    q = (r-i)//n
    ans[i] = q-p+1
print(*ans, sep='\n')
0