AT_abc465_a.Supermajority

入门

通过率:0%

时间限制:2.00s

内存限制:1024MB

AC君温馨提醒

该题目为【atcoder】题库的题目,您提交的代码将被提交至atcoder进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

You are given positive integers AA and BB.

If A>B×23\displaystyle A > B \times \frac{2}{3}, output Yes; otherwise, output No.

给你两个正整数 AA 和 BB。

如果 A>B×23\displaystyle A > B \times \frac{2}{3},输出 Yes;否则,输出 No。

输入格式

The input is given from Standard Input in the following format:

AA BB

输入从标准输入中按以下格式给出:

AA BB

输出格式

Output the answer.

输出答案。

输入输出样例

  • 输入#1

    316 465

    输出#1

    Yes
  • 输入#2

    101 248

    输出#2

    No
  • 输入#3

    666 999

    输出#3

    No

说明/提示

Sample 1 Explanation:
Since 316>465×23\displaystyle 316 > 465 \times \frac{2}{3}, output Yes.

Sample 2 Explanation:
Since 101>248×23\displaystyle 101 > 248 \times \frac{2}{3} does not hold, output No.

Sample 3 Explanation:
Since 666>999×23\displaystyle 666 > 999 \times \frac{2}{3} does not hold, output No.

Constraints

  • 1≤A,B≤10001 \leq A, B \leq 1000
  • All input values are integers.

样例 1 解释:
因为 316>465×23\displaystyle 316 > 465 \times \frac{2}{3},输出 Yes。

样例 2 解释:
因为 101>248×23\displaystyle 101 > 248 \times \frac{2}{3} 不成立,输出 No。

样例 3 解释:
因为 666>999×23\displaystyle 666 > 999 \times \frac{2}{3} 不成立,输出 No。

约束条件

  • 1≤A,B≤10001 \leq A, B \leq 1000
  • 所有输入值均为整数。

输入解题思路,AI测评打分。不知道怎么写?

首页