結果

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

ソースコード

diff #

import sys
sys.setrecursionlimit(10**7)
def ii(): return int(input())
def ist(): return input().split()
def mi(d=0): return map(lambda x:int(x)-d,input().split())
def lmi(d=0): return list(map(lambda x:int(x)-d,input().split()))
INF = float("inf")
def answer(s):
  print(s)
  exit()
################################################
l,r = mi()
if l <= 295:
  if r <= 295:
    answer(0)
  elif r <= 416:
    answer(1)
  else:
    answer(2)
elif l <= 416:
  if r <= 416:
    answer(0)
  else:
    answer(1)
else:
  answer(0)
0