結果
問題 | No.1118 sin(x)/xの二乗和 |
ユーザー |
![]() |
提出日時 | 2020-08-13 20:47:05 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 166 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 82,552 KB |
実行使用メモリ | 76,440 KB |
最終ジャッジ日時 | 2024-10-09 19:33:57 |
合計ジャッジ時間 | 27,766 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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,50000000): x+=1 ans+=(math.sin(x)/x)**2 print(ans)