結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2020-10-02 20:25:39 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 853 ms |
コンパイル使用メモリ | 82,360 KB |
実行使用メモリ | 234,652 KB |
最終ジャッジ日時 | 2024-07-16 03:14:59 |
合計ジャッジ時間 | 54,302 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 22 |
ソースコード
from math import sqrt import sys pin=sys.stdin.readline def main(): N=int(pin()) ans=0 ansl=[] t=10**30 s=10**15 for _ in [0]*N: x=int(pin())*t ans+=sqrt(x) ansl.append(str(ans/s)) answ="\n".join(ansl) print(answ) return main()