結果
問題 |
No.1118 sin(x)/xの二乗和
|
ユーザー |
![]() |
提出日時 | 2020-08-13 20:47:42 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 166 bytes |
コンパイル時間 | 364 ms |
コンパイル使用メモリ | 81,844 KB |
実行使用メモリ | 76,468 KB |
最終ジャッジ日時 | 2024-10-09 19:34:15 |
合計ジャッジ時間 | 17,465 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
import math x=float(input()) if x==0: ans=1 else: ans=(math.sin(x)/x)**2 for i in range(1,30000000): x+=1 ans+=(math.sin(x)/x)**2 print(ans)