結果

問題 No.836 じょうよ
ユーザー prd_xxxprd_xxx
提出日時 2019-06-14 21:34:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 159 ms / 1,000 ms
コード長 165 bytes
コンパイル時間 707 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 12,424 KB
最終ジャッジ日時 2023-08-08 17:27:50
合計ジャッジ時間 3,510 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
12,232 KB
testcase_01 AC 15 ms
7,812 KB
testcase_02 AC 15 ms
7,816 KB
testcase_03 AC 15 ms
7,888 KB
testcase_04 AC 15 ms
7,860 KB
testcase_05 AC 15 ms
7,784 KB
testcase_06 AC 15 ms
7,892 KB
testcase_07 AC 15 ms
7,828 KB
testcase_08 AC 14 ms
7,880 KB
testcase_09 AC 15 ms
7,844 KB
testcase_10 AC 14 ms
7,784 KB
testcase_11 AC 24 ms
8,552 KB
testcase_12 AC 29 ms
8,836 KB
testcase_13 AC 23 ms
8,640 KB
testcase_14 AC 16 ms
7,928 KB
testcase_15 AC 26 ms
8,672 KB
testcase_16 AC 119 ms
12,424 KB
testcase_17 AC 106 ms
11,892 KB
testcase_18 AC 23 ms
8,520 KB
testcase_19 AC 33 ms
8,788 KB
testcase_20 AC 71 ms
10,384 KB
testcase_21 AC 18 ms
8,420 KB
testcase_22 AC 57 ms
9,328 KB
testcase_23 AC 107 ms
10,572 KB
testcase_24 AC 21 ms
8,536 KB
testcase_25 AC 47 ms
9,012 KB
testcase_26 AC 16 ms
7,832 KB
testcase_27 AC 18 ms
8,216 KB
testcase_28 AC 25 ms
8,568 KB
testcase_29 AC 19 ms
8,340 KB
testcase_30 AC 17 ms
8,320 KB
testcase_31 AC 26 ms
8,724 KB
testcase_32 AC 25 ms
8,700 KB
testcase_33 AC 17 ms
8,316 KB
testcase_34 AC 24 ms
8,632 KB
testcase_35 AC 25 ms
8,608 KB
testcase_36 AC 79 ms
9,540 KB
testcase_37 AC 75 ms
9,516 KB
testcase_38 AC 103 ms
10,120 KB
testcase_39 AC 79 ms
9,844 KB
testcase_40 AC 159 ms
11,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ans = [0]*n
for i in range(n):
    ans[i] = r//n + int(i <= r%n)
    ans[i] -= ((l-1)//n + int(i <= (l-1)%n))
print(*ans, sep='\n')
0