結果

問題 No.836 じょうよ
ユーザー sho_00sho_00
提出日時 2020-04-11 16:01:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 81,720 KB
実行使用メモリ 76,496 KB
最終ジャッジ日時 2023-10-19 07:29:55
合計ジャッジ時間 4,152 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
76,156 KB
testcase_01 AC 38 ms
53,460 KB
testcase_02 AC 39 ms
53,460 KB
testcase_03 AC 39 ms
53,460 KB
testcase_04 AC 39 ms
53,460 KB
testcase_05 AC 41 ms
53,460 KB
testcase_06 AC 39 ms
53,460 KB
testcase_07 WA -
testcase_08 AC 38 ms
53,460 KB
testcase_09 WA -
testcase_10 AC 38 ms
53,460 KB
testcase_11 AC 63 ms
68,444 KB
testcase_12 AC 60 ms
66,376 KB
testcase_13 AC 70 ms
70,596 KB
testcase_14 AC 51 ms
62,240 KB
testcase_15 AC 66 ms
68,536 KB
testcase_16 AC 81 ms
76,176 KB
testcase_17 AC 80 ms
76,232 KB
testcase_18 AC 61 ms
66,376 KB
testcase_19 AC 68 ms
70,584 KB
testcase_20 AC 63 ms
70,776 KB
testcase_21 AC 51 ms
62,240 KB
testcase_22 AC 62 ms
70,740 KB
testcase_23 AC 70 ms
76,060 KB
testcase_24 AC 60 ms
66,376 KB
testcase_25 AC 60 ms
68,628 KB
testcase_26 AC 51 ms
62,240 KB
testcase_27 AC 52 ms
62,240 KB
testcase_28 AC 68 ms
70,596 KB
testcase_29 AC 51 ms
62,240 KB
testcase_30 AC 52 ms
62,240 KB
testcase_31 AC 60 ms
66,376 KB
testcase_32 AC 52 ms
62,240 KB
testcase_33 AC 51 ms
62,240 KB
testcase_34 AC 52 ms
62,240 KB
testcase_35 AC 60 ms
66,376 KB
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

l,r,n=map(int,input().split())
cnt=[0]*n
v1=l//n+1 if l%n!=0 else l//n
v2=r//n
for i in range(n):
  ans=v2-v1
  if i>=l%n:
    ans+=1
  if l!=r and i<=r%n:
    ans+=1
  print(ans)
0