結果

問題 No.836 じょうよ
ユーザー 👑 H20H20
提出日時 2020-11-19 13:06:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 1,000 ms
コード長 155 bytes
コンパイル時間 2,007 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 77,992 KB
最終ジャッジ日時 2023-09-30 16:16:07
合計ジャッジ時間 7,902 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
77,464 KB
testcase_01 AC 72 ms
71,320 KB
testcase_02 AC 71 ms
71,492 KB
testcase_03 AC 72 ms
71,280 KB
testcase_04 AC 69 ms
71,112 KB
testcase_05 AC 73 ms
71,292 KB
testcase_06 AC 72 ms
71,224 KB
testcase_07 AC 72 ms
71,032 KB
testcase_08 AC 72 ms
71,220 KB
testcase_09 AC 72 ms
71,032 KB
testcase_10 AC 72 ms
71,032 KB
testcase_11 AC 83 ms
76,660 KB
testcase_12 AC 81 ms
76,336 KB
testcase_13 AC 82 ms
76,524 KB
testcase_14 AC 83 ms
76,660 KB
testcase_15 AC 84 ms
76,676 KB
testcase_16 AC 94 ms
77,768 KB
testcase_17 AC 92 ms
77,540 KB
testcase_18 AC 84 ms
76,560 KB
testcase_19 AC 84 ms
76,676 KB
testcase_20 AC 88 ms
76,720 KB
testcase_21 AC 82 ms
76,508 KB
testcase_22 AC 87 ms
76,740 KB
testcase_23 AC 90 ms
77,816 KB
testcase_24 AC 84 ms
76,680 KB
testcase_25 AC 86 ms
76,868 KB
testcase_26 AC 83 ms
76,492 KB
testcase_27 AC 82 ms
76,532 KB
testcase_28 AC 85 ms
76,672 KB
testcase_29 AC 86 ms
76,392 KB
testcase_30 AC 85 ms
76,528 KB
testcase_31 AC 86 ms
76,480 KB
testcase_32 AC 85 ms
76,576 KB
testcase_33 AC 85 ms
76,572 KB
testcase_34 AC 83 ms
76,580 KB
testcase_35 AC 85 ms
76,564 KB
testcase_36 AC 90 ms
76,720 KB
testcase_37 AC 85 ms
76,532 KB
testcase_38 AC 86 ms
76,644 KB
testcase_39 AC 86 ms
77,048 KB
testcase_40 AC 90 ms
77,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L,R,N=map(int, input().split())
ALL = (R-L)//N
ANS = [ALL]*N
R = R - N*ALL
for i in range(L,R+1):
    ANS[i%N] += 1


for i in range(N):
    print(ANS[i])
0