結果

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

ソースコード

diff #

L, R = map(int, input().split())

S = set()
for i in range(L, R+1):
    if 1 <= i <= 295:
        S.add(0)
    elif 296 <= i <= 416:
        S.add(1)
    else:
        S.add(2)
    
print(len(S)-1)
0