結果

問題 No.1585 Cubic Number
ユーザー AEnAEn
提出日時 2022-05-12 11:55:49
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 275 ms / 1,000 ms
コード長 119 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 86,900 KB
実行使用メモリ 242,740 KB
最終ジャッジ日時 2023-09-27 10:43:03
合計ジャッジ時間 10,586 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 267 ms
241,376 KB
testcase_01 AC 262 ms
242,516 KB
testcase_02 AC 253 ms
242,340 KB
testcase_03 AC 252 ms
241,892 KB
testcase_04 AC 268 ms
242,632 KB
testcase_05 AC 262 ms
241,560 KB
testcase_06 AC 265 ms
241,756 KB
testcase_07 AC 254 ms
241,940 KB
testcase_08 AC 254 ms
241,712 KB
testcase_09 AC 255 ms
241,868 KB
testcase_10 AC 259 ms
241,540 KB
testcase_11 AC 260 ms
242,172 KB
testcase_12 AC 261 ms
241,424 KB
testcase_13 AC 252 ms
241,940 KB
testcase_14 AC 246 ms
241,376 KB
testcase_15 AC 275 ms
242,580 KB
testcase_16 AC 251 ms
241,868 KB
testcase_17 AC 265 ms
241,420 KB
testcase_18 AC 265 ms
242,740 KB
testcase_19 AC 271 ms
241,852 KB
testcase_20 AC 265 ms
241,544 KB
testcase_21 AC 241 ms
242,228 KB
testcase_22 AC 257 ms
241,856 KB
testcase_23 AC 251 ms
241,732 KB
testcase_24 AC 270 ms
241,328 KB
testcase_25 AC 242 ms
241,812 KB
testcase_26 AC 256 ms
241,304 KB
testcase_27 AC 267 ms
241,628 KB
testcase_28 AC 241 ms
241,600 KB
testcase_29 AC 261 ms
242,196 KB
testcase_30 AC 272 ms
241,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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