No.1527 Input Constant is Good
レベル :
/ AI推定難易度 : 73
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 405
作問者 :
PCTprobability
/ テスター :
tatyam
タグ : / 解いたユーザー数 405
作問者 :
PCTprobability
/ テスター :
tatyam
問題文最終更新日: 2021-05-07 16:51:53
English (AI translation)
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
yukicoder contest 298
(順位表)
の他の問題:
Problem Statement
PCT is solving a problem in which $A$ inputs are given.
By the way, PCT thinks that the fewer the inputs, the better. Specifically, he is happy if the number of inputs is $B$ or less, and sad otherwise.
Determine whether PCT is happy or sad.
Input
$A\ B$
- All inputs are integers.
- $1 \le A,B \le 1000$
Output
Print Yes if PCT is happy, and No if he is sad.
Sample
Sample 1
Input
3 5
Output
Yes
PCT is solving a problem in which $3$ inputs are given. In this case, PCT is happy with $5$ or fewer inputs, so print Yes.
Sample 2
Input
2 1
Output
No
It seems PCT can only be happy with problems that have $1$ input.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。