結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2020-09-12 21:43:05 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 1,185 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 172,416 KB |
最終ジャッジ日時 | 2025-01-02 14:33:06 |
合計ジャッジ時間 | 80,071 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 TLE * 22 |
ソースコード
import sys read=sys.stdin.buffer.read readline=sys.stdin.buffer.readline readlines=sys.stdin.buffer.readlines n=int(readline()) from decimal import * getcontext().prec=50 ans=Decimal(0) for _ in range(n): x=int(readline()) ans+=Decimal(x).sqrt() print(ans.quantize(Decimal('1e-18')))