結果

問題 No.1585 Cubic Number
ユーザー 89
提出日時 2022-02-12 02:05:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 224 bytes
コンパイル時間 146 ms
コンパイル使用メモリ 82,436 KB
実行使用メモリ 53,820 KB
最終ジャッジ日時 2024-06-28 01:26:41
合計ジャッジ時間 2,290 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

eps = 0.000000001
n = int(input())
M = n**(1/3)
import math
#print(M)
MMM = math.ceil(M)
MMMM = math.floor(M)
if abs(MMMM - M) < eps:
    print("Yes")
    exit()
if abs(MMM - M) < eps:
    print("Yes")
    exit()
print("No")
0