結果
問題 | No.3072 Sum of sqrt(x) |
ユーザー | tcltk |
提出日時 | 2021-01-16 06:07:50 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 636 bytes |
コンパイル時間 | 1,822 ms |
コンパイル使用メモリ | 85,484 KB |
実行使用メモリ | 97,504 KB |
最終ジャッジ日時 | 2023-08-18 02:41:34 |
合計ジャッジ時間 | 80,578 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 249 ms
92,124 KB |
testcase_01 | AC | 253 ms
91,756 KB |
testcase_02 | AC | 256 ms
91,764 KB |
testcase_03 | AC | 258 ms
91,992 KB |
testcase_04 | AC | 261 ms
91,696 KB |
testcase_05 | AC | 257 ms
91,820 KB |
testcase_06 | AC | 265 ms
91,888 KB |
testcase_07 | AC | 1,857 ms
97,144 KB |
testcase_08 | AC | 692 ms
97,504 KB |
testcase_09 | AC | 1,226 ms
95,976 KB |
testcase_10 | AC | 1,597 ms
97,156 KB |
testcase_11 | AC | 1,694 ms
96,768 KB |
testcase_12 | AC | 1,999 ms
97,140 KB |
testcase_13 | TLE | - |
testcase_14 | TLE | - |
testcase_15 | TLE | - |
testcase_16 | TLE | - |
testcase_17 | TLE | - |
testcase_18 | TLE | - |
testcase_19 | TLE | - |
testcase_20 | TLE | - |
testcase_21 | TLE | - |
testcase_22 | TLE | - |
testcase_23 | TLE | - |
testcase_24 | TLE | - |
testcase_25 | AC | 1,979 ms
96,968 KB |
testcase_26 | TLE | - |
testcase_27 | AC | 1,899 ms
97,176 KB |
testcase_28 | AC | 1,942 ms
97,396 KB |
testcase_29 | TLE | - |
ソースコード
#region Header #!/usr/bin/env python3 # from typing import * import sys import io import math import collections import decimal import itertools from queue import PriorityQueue import bisect import heapq def input(): return sys.stdin.readline()[:-1] # input = sys.stdin.readline sys.setrecursionlimit(1000000) #endregion # _INPUT = """3 # 3 # 4 # 5 # """ # sys.stdin = io.StringIO(_INPUT) def main(): N = int(input()) s = 0 for i in range(N): x = int(input()) * 10**30 s += int(math.sqrt(x)) print(s / 10**15) if __name__ == '__main__': main()