結果
| 問題 |
No.1118 sin(x)/xの二乗和
|
| コンテスト | |
| ユーザー |
Risu_Basquiat
|
| 提出日時 | 2020-08-13 20:40:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| コンパイル時間 | 630 ms |
| コンパイル使用メモリ | 82,328 KB |
| 実行使用メモリ | 76,356 KB |
| 最終ジャッジ日時 | 2024-10-09 19:32:29 |
| 合計ジャッジ時間 | 2,666 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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,1000000):
x+=1
ans+=(math.sin(x)/x)**2
print(ans)
Risu_Basquiat