結果

問題 No.1585 Cubic Number
ユーザー brthyyjpbrthyyjp
提出日時 2021-07-14 19:24:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 260 ms / 1,000 ms
コード長 127 bytes
コンパイル時間 1,507 ms
コンパイル使用メモリ 86,960 KB
実行使用メモリ 241,772 KB
最終ジャッジ日時 2023-09-16 20:18:41
合計ジャッジ時間 10,534 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 259 ms
241,304 KB
testcase_01 AC 248 ms
241,400 KB
testcase_02 AC 253 ms
241,304 KB
testcase_03 AC 259 ms
241,308 KB
testcase_04 AC 250 ms
241,448 KB
testcase_05 AC 256 ms
241,424 KB
testcase_06 AC 259 ms
241,544 KB
testcase_07 AC 248 ms
241,412 KB
testcase_08 AC 247 ms
241,584 KB
testcase_09 AC 249 ms
241,464 KB
testcase_10 AC 247 ms
241,380 KB
testcase_11 AC 252 ms
241,596 KB
testcase_12 AC 254 ms
241,772 KB
testcase_13 AC 255 ms
241,536 KB
testcase_14 AC 256 ms
241,492 KB
testcase_15 AC 253 ms
241,612 KB
testcase_16 AC 248 ms
241,416 KB
testcase_17 AC 254 ms
241,644 KB
testcase_18 AC 258 ms
241,536 KB
testcase_19 AC 253 ms
241,492 KB
testcase_20 AC 256 ms
241,540 KB
testcase_21 AC 256 ms
241,528 KB
testcase_22 AC 258 ms
241,352 KB
testcase_23 AC 260 ms
241,300 KB
testcase_24 AC 248 ms
241,644 KB
testcase_25 AC 250 ms
241,416 KB
testcase_26 AC 249 ms
241,272 KB
testcase_27 AC 256 ms
241,280 KB
testcase_28 AC 250 ms
241,600 KB
testcase_29 AC 257 ms
241,272 KB
testcase_30 AC 260 ms
241,492 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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