結果
| 問題 |
No.3203 $\sin{x}$
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-22 17:38:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 484 bytes |
| コンパイル時間 | 539 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 53,428 KB |
| 最終ジャッジ日時 | 2025-07-22 17:38:53 |
| 合計ジャッジ時間 | 1,696 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
# Generated By Gemini 2.5 Pro
import math
def solve():
x = int(input())
if x == 0:
print("Yes")
else:
# For any non-zero integer x, sin(x) will not be an integer.
# This is because pi is irrational, and sin(x) is an integer
# only when x is a specific multiple of pi (like n*pi, (n+1/2)*pi, etc.).
# An integer x cannot be a non-zero multiple of an irrational number pi.
print("No")
if __name__ == '__main__':
solve()