結果

問題 No.3259 C++ → Rust → Python
コンテスト
ユーザー もろこし
提出日時 2025-09-06 13:13:28
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 66 ms / 2,000 ms
+ 36µs
コード長 521 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 246 ms
コンパイル使用メモリ 96,112 KB
実行使用メモリ 79,104 KB
最終ジャッジ日時 2026-07-14 18:38:43
合計ジャッジ時間 3,235 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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