結果
| 問題 |
No.8072 Sum of sqrt(x)
|
| ユーザー |
akasia_midori
|
| 提出日時 | 2022-05-03 06:29:38 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 319 bytes |
| コンパイル時間 | 291 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 99,072 KB |
| 最終ジャッジ日時 | 2024-07-02 10:38:23 |
| 合計ジャッジ時間 | 11,661 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 TLE * 1 -- * 22 |
ソースコード
import decimal
import sys
input = sys.stdin.readline
def one_str():
return input()
def many_int():
return list(map(int, input().split()))
from decimal import *
getcontext().prec = 16
input_count = 0
N = many_int()[0]
now = 0
for i in range(N):
now += decimal.Decimal(many_int()[0]**(1/2))
print(now)
akasia_midori