問題一覧 > 通常問題

No.773 Contest

レベル : / AI推定難易度 : 77 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 451
作問者 : hirakich1000000007
お気に入りにしたユーザー ProblemId : 2634 / 自分の提出
問題文最終更新日: 2018-12-19 20:04:29
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
Advent Calendar Contest 2018 (順位表) の他の問題:

Problem Statement

The Paken training camp takes place on the $23, 24, 25$th of this month, and there is a contest on each of the $3$ days (Day1, Day2, Day3).
Hitsuji intends to participate in them, but cannot participate from day $A$ through day $B$ because of a trip.
How many of the Paken training camp contests can Hitsuji participate in?

Input

$A$ $B$

$1 \leq A \leq B \leq 31$

Output

Output on one line the number of Paken training camp contests that Hitsuji can participate in.

Sample

Sample 1
Input
11 23
Output
2

Sample 2
Input
21 31
Output
0

Sample 3
Input
1 5
Output
3

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。