結果

問題 No.1585 Cubic Number
ユーザー kisaragi_kefukisaragi_kefu
提出日時 2021-07-09 00:12:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 109 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 8,064 KB
最終ジャッジ日時 2023-09-14 05:50:39
合計ジャッジ時間 1,829 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 17 ms
7,928 KB
testcase_02 AC 17 ms
8,008 KB
testcase_03 AC 16 ms
7,892 KB
testcase_04 WA -
testcase_05 AC 16 ms
7,892 KB
testcase_06 AC 16 ms
7,888 KB
testcase_07 AC 15 ms
7,956 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 20 ms
7,912 KB
testcase_16 AC 16 ms
7,892 KB
testcase_17 AC 16 ms
7,852 KB
testcase_18 AC 16 ms
7,928 KB
testcase_19 AC 16 ms
7,928 KB
testcase_20 AC 16 ms
7,916 KB
testcase_21 AC 16 ms
7,892 KB
testcase_22 AC 16 ms
7,852 KB
testcase_23 AC 15 ms
8,064 KB
testcase_24 AC 15 ms
7,848 KB
testcase_25 AC 16 ms
7,948 KB
testcase_26 AC 16 ms
7,896 KB
testcase_27 AC 16 ms
8,060 KB
testcase_28 WA -
testcase_29 AC 15 ms
7,900 KB
testcase_30 AC 16 ms
7,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
n = int(input())
if str(sqrt(n)).endswith(".0"):
    print("Yes")
else:
    print("No")
0