結果

問題 No.836 じょうよ
ユーザー nomemseanomemsea
提出日時 2019-06-14 21:35:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 1,000 ms
コード長 206 bytes
コンパイル時間 315 ms
コンパイル使用メモリ 82,408 KB
実行使用メモリ 77,932 KB
最終ジャッジ日時 2024-04-26 10:02:47
合計ジャッジ時間 3,735 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
77,044 KB
testcase_01 AC 36 ms
53,000 KB
testcase_02 AC 37 ms
52,636 KB
testcase_03 AC 36 ms
52,432 KB
testcase_04 AC 36 ms
52,688 KB
testcase_05 AC 41 ms
52,812 KB
testcase_06 AC 37 ms
53,256 KB
testcase_07 AC 36 ms
52,948 KB
testcase_08 AC 37 ms
52,408 KB
testcase_09 AC 38 ms
53,164 KB
testcase_10 AC 38 ms
53,280 KB
testcase_11 AC 50 ms
64,704 KB
testcase_12 AC 55 ms
65,336 KB
testcase_13 AC 50 ms
64,148 KB
testcase_14 AC 49 ms
63,288 KB
testcase_15 AC 52 ms
64,848 KB
testcase_16 AC 64 ms
77,076 KB
testcase_17 AC 64 ms
77,152 KB
testcase_18 AC 51 ms
63,844 KB
testcase_19 AC 51 ms
66,792 KB
testcase_20 AC 56 ms
72,412 KB
testcase_21 AC 48 ms
63,412 KB
testcase_22 AC 54 ms
69,028 KB
testcase_23 AC 59 ms
77,044 KB
testcase_24 AC 49 ms
64,640 KB
testcase_25 AC 52 ms
67,380 KB
testcase_26 AC 48 ms
62,988 KB
testcase_27 AC 48 ms
62,708 KB
testcase_28 AC 53 ms
65,168 KB
testcase_29 AC 50 ms
63,128 KB
testcase_30 AC 49 ms
63,556 KB
testcase_31 AC 51 ms
63,888 KB
testcase_32 AC 48 ms
63,616 KB
testcase_33 AC 48 ms
62,492 KB
testcase_34 AC 48 ms
63,240 KB
testcase_35 AC 51 ms
64,636 KB
testcase_36 AC 55 ms
72,016 KB
testcase_37 AC 54 ms
70,964 KB
testcase_38 AC 56 ms
73,864 KB
testcase_39 AC 54 ms
73,188 KB
testcase_40 AC 66 ms
77,932 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