結果

問題 No.810 割った余りの個数
ユーザー mesame3993mesame3993
提出日時 2021-11-18 15:26:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 1,298 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 71,576 KB
最終ジャッジ日時 2023-08-27 01:34:46
合計ジャッジ時間 4,847 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,152 KB
testcase_01 AC 65 ms
71,504 KB
testcase_02 AC 68 ms
71,416 KB
testcase_03 AC 67 ms
71,192 KB
testcase_04 AC 66 ms
71,196 KB
testcase_05 AC 67 ms
71,064 KB
testcase_06 AC 64 ms
71,196 KB
testcase_07 AC 65 ms
71,056 KB
testcase_08 AC 65 ms
71,472 KB
testcase_09 AC 67 ms
71,520 KB
testcase_10 AC 68 ms
71,576 KB
testcase_11 AC 69 ms
71,548 KB
testcase_12 AC 66 ms
71,344 KB
testcase_13 AC 66 ms
71,284 KB
testcase_14 AC 67 ms
71,552 KB
testcase_15 AC 65 ms
71,256 KB
testcase_16 AC 68 ms
71,272 KB
testcase_17 AC 65 ms
71,156 KB
testcase_18 AC 63 ms
71,184 KB
testcase_19 AC 65 ms
71,320 KB
testcase_20 AC 66 ms
71,500 KB
testcase_21 AC 65 ms
71,468 KB
testcase_22 AC 65 ms
71,196 KB
testcase_23 AC 68 ms
71,380 KB
testcase_24 AC 67 ms
71,268 KB
testcase_25 AC 64 ms
71,256 KB
testcase_26 AC 64 ms
71,256 KB
testcase_27 AC 67 ms
71,260 KB
testcase_28 AC 66 ms
71,564 KB
testcase_29 AC 63 ms
71,232 KB
権限があれば一括ダウンロードができます

ソースコード

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