結果

問題 No.1585 Cubic Number
ユーザー tktk
提出日時 2021-07-10 01:27:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 119 bytes
コンパイル時間 454 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 71,948 KB
最終ジャッジ日時 2023-09-14 12:57:12
合計ジャッジ時間 4,785 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,752 KB
testcase_01 AC 70 ms
71,124 KB
testcase_02 AC 76 ms
71,656 KB
testcase_03 AC 71 ms
71,656 KB
testcase_04 AC 71 ms
71,660 KB
testcase_05 AC 72 ms
71,672 KB
testcase_06 AC 73 ms
71,864 KB
testcase_07 AC 76 ms
71,860 KB
testcase_08 AC 72 ms
71,700 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 73 ms
71,760 KB
testcase_16 AC 72 ms
71,572 KB
testcase_17 AC 71 ms
71,688 KB
testcase_18 AC 72 ms
71,876 KB
testcase_19 AC 72 ms
71,380 KB
testcase_20 AC 70 ms
71,304 KB
testcase_21 AC 71 ms
71,632 KB
testcase_22 AC 70 ms
71,948 KB
testcase_23 AC 70 ms
71,884 KB
testcase_24 AC 72 ms
71,560 KB
testcase_25 AC 70 ms
71,520 KB
testcase_26 AC 73 ms
71,444 KB
testcase_27 AC 71 ms
71,756 KB
testcase_28 WA -
testcase_29 AC 70 ms
71,304 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = int(input())
N = N**(1/3)
if N == math.floor(N) == math.ceil(N):
    print("Yes")
else:
    print("No")
0