結果
| 問題 | No.3203 $\sin{x}$ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-30 19:04:09 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 2,000 ms |
| + 956µs | |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 279 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,996 KB |
| 最終ジャッジ日時 | 2026-07-13 15:43:27 |
| 合計ジャッジ時間 | 2,411 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
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")