結果

問題 No.1585 Cubic Number
ユーザー horitaka1999
提出日時 2021-07-08 22:25:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 82,080 KB
実行使用メモリ 59,600 KB
最終ジャッジ日時 2024-07-01 12:45:23
合計ジャッジ時間 2,564 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = int(input())
p = 0
flag = False
for n in range(1,10 ** 6):
    if N == n ** 3:
        flag = True
if flag:
    print('Yes')
else:
    print('No')
0