結果

問題 No.3259 C++ → Rust → Python
ユーザー Nikkuniku029
提出日時 2025-09-15 14:53:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 595 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 53,428 KB
最終ジャッジ日時 2025-09-15 14:53:09
合計ジャッジ時間 2,939 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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)
    elif 417 <= i <= 420:
        S.add(2)
print(len(S) - 1)
0