結果

問題 No.3203 $\sin{x}$
ユーザー Ziyan Gong
提出日時 2025-07-30 19:04:09
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 342 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-07-30 19:04:11
合計ジャッジ時間 1,819 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

x = int(input())  # read input
s = math.sin(x)   # sin(x), where x is in radians

# Check if s is "close enough" to an integer (avoid floating point errors)
if abs(s - round(s)) < 1e-8:
    print("Yes")
else:
    print("No")
0