結果

問題 No.810 割った余りの個数
ユーザー mesame3993
提出日時 2021-11-18 15:26:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-12-26 06:05:24
合計ジャッジ時間 3,051 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
  from sys import stdin
  readline=stdin.readline
  #s = input()
  l,r,m = map(int, readline().split())
  #A = list(map(int, readline().split()))
  if r-l+1 >= m:
    print(m)
  else:
    print(r-l+1)
main()
0