結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2021-08-15 10:55:41 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 233 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 154,112 KB |
最終ジャッジ日時 | 2024-10-07 02:20:39 |
合計ジャッジ時間 | 11,677 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 TLE * 1 -- * 22 |
ソースコード
from decimal import Decimal import sys input = sys.stdin.buffer.readline N = int(input()) res = [] cur = 0 for _ in range(N): x = Decimal(int(input())) cur += x.sqrt() res.append(cur) print('\n'.join(map(str, res)))