結果
| 問題 | No.8072 Sum of sqrt(x) |
| ユーザー |
|
| 提出日時 | 2020-09-12 22:36:23 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 382 ms / 2,000 ms |
| + 211µs | |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 165,952 KB |
| 最終ジャッジ日時 | 2026-10-10 07:07:11 |
| 合計ジャッジ時間 | 101,685 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
#!/usr/bin/env python3
# †
import os
from math import sqrt
###
if __name__ == '__main__':
dat = os.read(0, 20000010).decode().split('\n')
acc = 0
for x in dat[1:-1]:
acc += int(sqrt(int(x)) * 10**15)
s = str(acc)
print(s[:-15] + '.' + s[-15:17])