結果
| 問題 |
No.1118 sin(x)/xの二乗和
|
| コンテスト | |
| ユーザー |
Risu_Basquiat
|
| 提出日時 | 2020-08-13 20:46:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 500 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 76,384 KB |
| 最終ジャッジ日時 | 2024-10-09 19:33:26 |
| 合計ジャッジ時間 | 53,853 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 20 |
ソースコード
import math
x=float(input())
if x==0:
ans=1
else:
ans=(math.sin(x)/x)**2
for i in range(1,100000000):
x+=1
ans+=(math.sin(x)/x)**2
print(ans)
Risu_Basquiat