No.3203 $\sin{x}$
問題文最終更新日: 2025-07-15 11:51:30
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 474
(順位表)
の他の問題:
Problem Statement
You are given an integer $x$. Is $\sin{x}$ an integer?
Constraints
- $-100 \leq x \leq 100$
Input
$x$
Output
Print Yes on one line if $\sin{x}$ is an integer, and No otherwise.
Sample
Sample 1
Input
0
Output
Yes
Since $\sin{0} = 0$, print Yes.
Sample 2
Input
90
Output
No
$\sin{90} \approx 0.894$. Note that this is different from $\sin{90°}$.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。