問題一覧 > ネタ問題

No.8098 tan 2

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 136
作問者 : MasKoaTS / テスター : 👑 p-adic
お気に入りにしたユーザー ProblemId : 8630 / 自分の提出
問題文最終更新日: 2026-09-26 09:21:32
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 April Fool Contest 2023 (順位表) の他の問題:

Problem Statement

Is $\tan I^{ \textrm{o} }$ a rational number?

 

Constraints

  • $I$ is an integer between $1$ and $89$, inclusive.

 

Input

The input is given in the following format.

$I$
  • The $1$st line contains $I$.

 

Output

If $\tan I^{ \textrm{o} }$ is a rational number, print Yes; otherwise, print No, on $1$ line.

Note the following example: $\tan 45^{\circ} = 1$$+ \textrm{o}$

Incidentally, the angle in this example is expressed in degrees. Note that everywhere other than this example, angles are expressed in radians.

Sample

Sample 1
Input
1
Output
No

$\tan 1^{ \textrm{o} }$ is not a rational number, so print No.

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