結果

問題 No.1585 Cubic Number
ユーザー titan23
提出日時 2022-06-11 00:43:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 229 ms / 1,000 ms
コード長 183 bytes
コンパイル時間 771 ms
コンパイル使用メモリ 82,244 KB
実行使用メモリ 226,452 KB
最終ジャッジ日時 2024-09-21 07:55:44
合計ジャッジ時間 8,888 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

##################

n = int(input())
st = set()
for i in range(1, 10**6+1):
  st.add(i**3)
print('Yes' if n in st else 'No')
0