結果

問題 No.810 割った余りの個数
ユーザー simamumusimamumu
提出日時 2019-04-12 21:27:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 346 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 10,948 KB
実行使用メモリ 10,572 KB
最終ジャッジ日時 2023-10-12 18:43:29
合計ジャッジ時間 2,532 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,392 KB
testcase_01 AC 33 ms
10,524 KB
testcase_02 AC 32 ms
10,524 KB
testcase_03 AC 32 ms
10,468 KB
testcase_04 AC 32 ms
10,432 KB
testcase_05 AC 32 ms
10,500 KB
testcase_06 AC 35 ms
10,412 KB
testcase_07 AC 32 ms
10,400 KB
testcase_08 AC 32 ms
10,400 KB
testcase_09 AC 32 ms
10,536 KB
testcase_10 AC 32 ms
10,432 KB
testcase_11 AC 32 ms
10,572 KB
testcase_12 AC 33 ms
10,412 KB
testcase_13 AC 32 ms
10,532 KB
testcase_14 AC 32 ms
10,400 KB
testcase_15 AC 32 ms
10,400 KB
testcase_16 AC 32 ms
10,500 KB
testcase_17 AC 32 ms
10,388 KB
testcase_18 AC 33 ms
10,404 KB
testcase_19 AC 32 ms
10,496 KB
testcase_20 AC 33 ms
10,356 KB
testcase_21 AC 32 ms
10,508 KB
testcase_22 AC 33 ms
10,440 KB
testcase_23 AC 32 ms
10,428 KB
testcase_24 AC 32 ms
10,432 KB
testcase_25 AC 32 ms
10,392 KB
testcase_26 AC 32 ms
10,464 KB
testcase_27 AC 32 ms
10,500 KB
testcase_28 AC 33 ms
10,404 KB
testcase_29 AC 32 ms
10,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime,random
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, input().split()))
def inpls(): return list(input().split())

L,R,M = inpl()

if R-L+1 >= M:
    print(M)
else:
    print(R-L+1)
0