結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2024-10-02 12:40:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 354 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 16,768 KB |
最終ジャッジ日時 | 2024-10-02 12:40:28 |
合計ジャッジ時間 | 15,150 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 TLE * 1 -- * 22 |
ソースコード
from decimal import Decimal, getcontext getcontext().prec = 18 # 18桁の精度を保証 N = int(input()) ans = Decimal(0) for _ in range(N): x = int(input()) ans += Decimal(x**(1/2)) print(ans)