結果

問題 No.1700 floor X
ユーザー moharan627moharan627
提出日時 2021-10-08 21:54:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 575 bytes
コンパイル時間 639 ms
コンパイル使用メモリ 10,896 KB
実行使用メモリ 9,016 KB
最終ジャッジ日時 2023-09-30 09:55:57
合計ジャッジ時間 3,410 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,584 KB
testcase_01 AC 29 ms
8,844 KB
testcase_02 AC 29 ms
9,016 KB
testcase_03 AC 29 ms
8,996 KB
testcase_04 AC 29 ms
9,016 KB
testcase_05 AC 29 ms
8,964 KB
testcase_06 AC 30 ms
8,944 KB
testcase_07 AC 30 ms
9,012 KB
testcase_08 AC 29 ms
8,960 KB
testcase_09 AC 29 ms
8,824 KB
testcase_10 AC 29 ms
9,004 KB
testcase_11 AC 30 ms
8,980 KB
testcase_12 AC 29 ms
8,852 KB
testcase_13 AC 29 ms
8,828 KB
testcase_14 AC 29 ms
8,864 KB
testcase_15 AC 29 ms
8,896 KB
testcase_16 AC 30 ms
8,960 KB
testcase_17 AC 30 ms
8,880 KB
testcase_18 AC 30 ms
8,852 KB
testcase_19 AC 29 ms
8,860 KB
testcase_20 AC 29 ms
8,820 KB
testcase_21 AC 31 ms
8,668 KB
testcase_22 AC 31 ms
8,744 KB
testcase_23 AC 31 ms
8,804 KB
testcase_24 AC 30 ms
8,728 KB
testcase_25 AC 30 ms
8,728 KB
testcase_26 AC 30 ms
8,732 KB
testcase_27 AC 30 ms
8,856 KB
testcase_28 AC 30 ms
8,668 KB
testcase_29 AC 30 ms
8,672 KB
testcase_30 AC 30 ms
8,812 KB
testcase_31 AC 30 ms
8,676 KB
testcase_32 AC 30 ms
8,848 KB
testcase_33 AC 30 ms
8,832 KB
testcase_34 AC 30 ms
8,872 KB
testcase_35 AC 30 ms
8,672 KB
testcase_36 AC 30 ms
8,680 KB
testcase_37 AC 30 ms
8,892 KB
testcase_38 AC 31 ms
8,864 KB
testcase_39 AC 30 ms
8,888 KB
testcase_40 AC 30 ms
8,680 KB
testcase_41 AC 30 ms
8,848 KB
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
#sys.setrecursionlimit(10 ** 6)
INF = float('inf')
#10**20,2**63に変えるのもあり
MOD = 10**9 + 7
MOD2 = 998244353
from collections import defaultdict
def solve():
    def II(): return int(sys.stdin.readline())
    def LI(): return list(map(int, sys.stdin.readline().split()))
    def LC(): return list(input())
    def IC(): return [int(c) for c in input()]
    def MI(): return map(int, sys.stdin.readline().split())
    T = II()
    from math import ceil,floor,sqrt
    for _ in range(T):
        N = II()
        print(floor(sqrt(N)))
    return
solve()
0