結果

問題 No.836 じょうよ
ユーザー nomemseanomemsea
提出日時 2019-06-14 21:35:31
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 94 ms / 1,000 ms
コード長 206 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 87,248 KB
実行使用メモリ 78,508 KB
最終ジャッジ日時 2023-08-08 17:29:22
合計ジャッジ時間 5,371 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
78,224 KB
testcase_01 AC 70 ms
71,404 KB
testcase_02 AC 71 ms
71,168 KB
testcase_03 AC 69 ms
71,096 KB
testcase_04 AC 71 ms
71,336 KB
testcase_05 AC 72 ms
71,104 KB
testcase_06 AC 71 ms
71,264 KB
testcase_07 AC 72 ms
71,392 KB
testcase_08 AC 71 ms
71,452 KB
testcase_09 AC 70 ms
71,388 KB
testcase_10 AC 69 ms
71,380 KB
testcase_11 AC 84 ms
76,832 KB
testcase_12 AC 84 ms
76,840 KB
testcase_13 AC 83 ms
76,768 KB
testcase_14 AC 81 ms
76,716 KB
testcase_15 AC 84 ms
76,560 KB
testcase_16 AC 94 ms
78,252 KB
testcase_17 AC 94 ms
78,136 KB
testcase_18 AC 83 ms
76,464 KB
testcase_19 AC 82 ms
76,636 KB
testcase_20 AC 85 ms
77,272 KB
testcase_21 AC 81 ms
76,836 KB
testcase_22 AC 84 ms
77,196 KB
testcase_23 AC 89 ms
78,508 KB
testcase_24 AC 80 ms
76,444 KB
testcase_25 AC 82 ms
76,668 KB
testcase_26 AC 77 ms
76,712 KB
testcase_27 AC 78 ms
76,760 KB
testcase_28 AC 79 ms
76,784 KB
testcase_29 AC 78 ms
76,764 KB
testcase_30 AC 78 ms
76,752 KB
testcase_31 AC 79 ms
76,740 KB
testcase_32 AC 77 ms
76,640 KB
testcase_33 AC 80 ms
76,276 KB
testcase_34 AC 80 ms
76,588 KB
testcase_35 AC 83 ms
76,584 KB
testcase_36 AC 87 ms
76,976 KB
testcase_37 AC 84 ms
76,928 KB
testcase_38 AC 85 ms
78,272 KB
testcase_39 AC 82 ms
77,056 KB
testcase_40 AC 88 ms
78,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l,r,n = map(int,input().split())
l -=1
ll = l % n
rr = r % n
f = [l//n]*(n)
g = [r//n]*(n)
for i in range(1,ll+1):
    f[i] += 1
for i in range(1,rr+1):
    g[i] +=1

for i in range(n):
    print(g[i]-f[i])
0