結果

問題 No.3259 C++ → Rust → Python
ユーザー i_taku
提出日時 2025-09-09 14:16:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 497 ms
コンパイル使用メモリ 82,244 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2025-09-09 14:16:07
合計ジャッジ時間 2,859 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

L, R = map(int, input().split())
ans = 0
if L <= 295:
    if R <= 295:
        print(0)
    elif R <= 416:
        print(1)
    else:
        print(2)
elif L <= 416:
    if R <= 416:
        print(0)
    else:
        print(1)
else:
    print(0)
0