結果
問題 | No.3072 Sum of sqrt(x) |
ユーザー | maspy |
提出日時 | 2020-06-21 12:21:45 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 248 bytes |
コンパイル時間 | 379 ms |
コンパイル使用メモリ | 87,408 KB |
実行使用メモリ | 229,316 KB |
最終ジャッジ日時 | 2023-09-13 03:37:15 |
合計ジャッジ時間 | 51,728 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 66 ms
71,960 KB |
testcase_01 | AC | 67 ms
71,740 KB |
testcase_02 | AC | 72 ms
71,744 KB |
testcase_03 | AC | 67 ms
71,612 KB |
testcase_04 | AC | 68 ms
71,280 KB |
testcase_05 | AC | 68 ms
71,696 KB |
testcase_06 | AC | 66 ms
71,556 KB |
testcase_07 | WA | - |
testcase_08 | AC | 374 ms
161,364 KB |
testcase_09 | AC | 436 ms
161,204 KB |
testcase_10 | AC | 567 ms
227,124 KB |
testcase_11 | AC | 997 ms
225,308 KB |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
ソースコード
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline N = int(readline()) nums = map(int, read().split()) ans = [0.0] * N s = 0 for i,x in enumerate(nums): s += x**.5 ans[i] = s S = '\n'.join(map(str, ans)) print(S)