結果

問題 No.1700 floor X
ユーザー MasKoaTSMasKoaTS
提出日時 2021-10-31 17:18:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,524 ms / 2,000 ms
コード長 734 bytes
コンパイル時間 1,098 ms
コンパイル使用メモリ 10,924 KB
実行使用メモリ 9,872 KB
最終ジャッジ日時 2023-09-16 09:37:01
合計ジャッジ時間 64,399 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,436 KB
testcase_01 AC 1,436 ms
9,816 KB
testcase_02 AC 1,439 ms
9,828 KB
testcase_03 AC 1,429 ms
9,732 KB
testcase_04 AC 1,435 ms
9,736 KB
testcase_05 AC 1,431 ms
9,868 KB
testcase_06 AC 1,438 ms
9,724 KB
testcase_07 AC 1,436 ms
9,828 KB
testcase_08 AC 1,438 ms
9,736 KB
testcase_09 AC 1,433 ms
9,732 KB
testcase_10 AC 1,442 ms
9,872 KB
testcase_11 AC 1,432 ms
9,704 KB
testcase_12 AC 1,433 ms
9,732 KB
testcase_13 AC 1,428 ms
9,816 KB
testcase_14 AC 1,436 ms
9,868 KB
testcase_15 AC 1,439 ms
9,692 KB
testcase_16 AC 1,446 ms
9,816 KB
testcase_17 AC 1,441 ms
9,824 KB
testcase_18 AC 1,426 ms
9,728 KB
testcase_19 AC 1,429 ms
9,700 KB
testcase_20 AC 1,449 ms
9,736 KB
testcase_21 AC 1,500 ms
9,600 KB
testcase_22 AC 1,499 ms
9,692 KB
testcase_23 AC 1,515 ms
9,552 KB
testcase_24 AC 1,504 ms
9,700 KB
testcase_25 AC 1,503 ms
9,556 KB
testcase_26 AC 1,501 ms
9,676 KB
testcase_27 AC 1,509 ms
9,584 KB
testcase_28 AC 1,505 ms
9,556 KB
testcase_29 AC 1,507 ms
9,688 KB
testcase_30 AC 1,495 ms
9,568 KB
testcase_31 AC 1,503 ms
9,644 KB
testcase_32 AC 1,512 ms
9,588 KB
testcase_33 AC 1,501 ms
9,588 KB
testcase_34 AC 1,507 ms
9,632 KB
testcase_35 AC 1,505 ms
9,672 KB
testcase_36 AC 1,508 ms
9,632 KB
testcase_37 AC 1,503 ms
9,636 KB
testcase_38 AC 1,524 ms
9,692 KB
testcase_39 AC 1,499 ms
9,680 KB
testcase_40 AC 1,509 ms
9,628 KB
testcase_41 AC 477 ms
9,576 KB
testcase_42 AC 24 ms
9,376 KB
testcase_43 AC 734 ms
9,600 KB
testcase_44 AC 1,319 ms
9,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as iter
import collections as coll
import heapq as hq
import bisect as bis
from decimal import Decimal as dec
from copy import deepcopy as dcopy
import math
import sys
sys.setrecursionlimit(10**6)
def input():
    return sys.stdin.readline().rstrip()
def getN():
	return int(sys.stdin.readline().rstrip())
def getNs():
	return map(int,sys.stdin.readline().rstrip().split())
def getList():
	return list(map(int,sys.stdin.readline().rstrip().split()))
def strinps(n):
	return [sys.stdin.readline().rstrip() for _ in range(n)]
pi = 3.141592653589793
mod = 10**9+7
MOD = 998244353
INF = math.inf
dx = [1,0,-1,0];	dy = [0,1,0,-1]


"""
Main Code
"""

t = getN()
for _ in [0]*t:
	n = dec(input())
	print(int(n ** dec(0.5)))
0