結果

問題 No.3259 C++ → Rust → Python
ユーザー miya145592
提出日時 2025-09-06 13:02:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 82,096 KB
実行使用メモリ 53,680 KB
最終ジャッジ日時 2025-09-06 13:02:49
合計ジャッジ時間 2,307 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
L, R = map(int, input().split())
ans = set()
for i in range(L, R+1):
    if i<=295:
        ans.add(1)
    elif i<=416:
        ans.add(2)
    else:
        ans.add(3)
print(len(ans)-1)
0