結果

問題 No.3259 C++ → Rust → Python
ユーザー 電たくT
提出日時 2025-09-06 14:23:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 82,412 KB
実行使用メモリ 53,716 KB
最終ジャッジ日時 2025-09-06 14:23:19
合計ジャッジ時間 2,169 ms
ジャッジサーバーID
(参考情報)
judge4 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if R <= 295 or L >= 417:
    print(0)
elif L <= 295:
    if R <= 416:
        print(1)
    else:
        print(2)
elif L <= 416:
    if R <= 416:
        print(0)
    else:
        print(1)
0