結果

問題 No.836 じょうよ
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-05-26 23:10:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 214 bytes
コンパイル時間 180 ms
コンパイル使用メモリ 81,860 KB
実行使用メモリ 76,056 KB
最終ジャッジ日時 2023-10-20 19:34:40
合計ジャッジ時間 4,826 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
75,808 KB
testcase_01 AC 38 ms
53,200 KB
testcase_02 AC 38 ms
53,200 KB
testcase_03 AC 38 ms
53,200 KB
testcase_04 AC 39 ms
53,200 KB
testcase_05 AC 41 ms
53,200 KB
testcase_06 AC 39 ms
53,200 KB
testcase_07 AC 38 ms
53,200 KB
testcase_08 AC 39 ms
53,200 KB
testcase_09 AC 38 ms
53,200 KB
testcase_10 AC 39 ms
53,200 KB
testcase_11 AC 52 ms
64,084 KB
testcase_12 AC 53 ms
64,084 KB
testcase_13 AC 52 ms
64,084 KB
testcase_14 AC 50 ms
62,036 KB
testcase_15 AC 51 ms
64,084 KB
testcase_16 AC 67 ms
75,820 KB
testcase_17 AC 66 ms
75,768 KB
testcase_18 AC 53 ms
64,100 KB
testcase_19 AC 52 ms
64,088 KB
testcase_20 AC 60 ms
70,548 KB
testcase_21 AC 50 ms
62,036 KB
testcase_22 AC 56 ms
68,464 KB
testcase_23 AC 65 ms
75,884 KB
testcase_24 AC 54 ms
64,100 KB
testcase_25 AC 56 ms
68,396 KB
testcase_26 AC 51 ms
62,036 KB
testcase_27 AC 51 ms
62,036 KB
testcase_28 AC 53 ms
64,100 KB
testcase_29 AC 51 ms
62,036 KB
testcase_30 AC 51 ms
62,036 KB
testcase_31 AC 52 ms
64,084 KB
testcase_32 AC 52 ms
64,084 KB
testcase_33 AC 52 ms
62,036 KB
testcase_34 AC 52 ms
64,084 KB
testcase_35 AC 52 ms
64,084 KB
testcase_36 AC 56 ms
70,568 KB
testcase_37 AC 55 ms
70,544 KB
testcase_38 AC 57 ms
72,740 KB
testcase_39 AC 56 ms
70,612 KB
testcase_40 AC 64 ms
76,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ans = [0]*n
f = l%n
w = r-l+1
left = w%n
for i in range(n):
    if i < left:
        ans[(f+i)%n] = w//n+1
    else:
        ans[(f+i)%n] = w//n
        
for i in ans:
    print(i)
0