結果

問題 No.1585 Cubic Number
ユーザー titan23titan23
提出日時 2022-06-11 00:43:09
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 258 ms / 1,000 ms
コード長 183 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 81,820 KB
実行使用メモリ 225,276 KB
最終ジャッジ日時 2023-10-21 06:46:03
合計ジャッジ時間 9,588 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 245 ms
225,276 KB
testcase_01 AC 254 ms
225,276 KB
testcase_02 AC 254 ms
225,276 KB
testcase_03 AC 254 ms
225,276 KB
testcase_04 AC 254 ms
225,276 KB
testcase_05 AC 247 ms
225,276 KB
testcase_06 AC 256 ms
225,276 KB
testcase_07 AC 255 ms
225,276 KB
testcase_08 AC 249 ms
225,276 KB
testcase_09 AC 243 ms
225,276 KB
testcase_10 AC 246 ms
225,276 KB
testcase_11 AC 249 ms
225,276 KB
testcase_12 AC 258 ms
225,276 KB
testcase_13 AC 252 ms
225,276 KB
testcase_14 AC 245 ms
225,276 KB
testcase_15 AC 243 ms
225,276 KB
testcase_16 AC 239 ms
225,276 KB
testcase_17 AC 245 ms
225,276 KB
testcase_18 AC 252 ms
225,276 KB
testcase_19 AC 250 ms
225,276 KB
testcase_20 AC 255 ms
225,276 KB
testcase_21 AC 253 ms
225,276 KB
testcase_22 AC 243 ms
225,276 KB
testcase_23 AC 254 ms
225,276 KB
testcase_24 AC 246 ms
225,276 KB
testcase_25 AC 256 ms
225,276 KB
testcase_26 AC 256 ms
225,276 KB
testcase_27 AC 254 ms
225,276 KB
testcase_28 AC 240 ms
225,276 KB
testcase_29 AC 246 ms
225,276 KB
testcase_30 AC 243 ms
225,276 KB
権限があれば一括ダウンロードができます

ソースコード

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