結果

問題 No.1585 Cubic Number
ユーザー horitaka1999horitaka1999
提出日時 2021-07-08 22:27:40
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 95 ms / 1,000 ms
コード長 164 bytes
コンパイル時間 398 ms
使用メモリ 80,784 KB
最終ジャッジ日時 2023-02-01 20:01:36
合計ジャッジ時間 4,747 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 92 ms
80,408 KB
testcase_01 AC 92 ms
80,716 KB
testcase_02 AC 95 ms
80,460 KB
testcase_03 AC 92 ms
80,480 KB
testcase_04 AC 92 ms
80,472 KB
testcase_05 AC 92 ms
80,160 KB
testcase_06 AC 92 ms
80,496 KB
testcase_07 AC 92 ms
80,408 KB
testcase_08 AC 93 ms
80,684 KB
testcase_09 AC 92 ms
80,468 KB
testcase_10 AC 91 ms
80,404 KB
testcase_11 AC 91 ms
80,412 KB
testcase_12 AC 94 ms
80,784 KB
testcase_13 AC 92 ms
80,548 KB
testcase_14 AC 93 ms
80,608 KB
testcase_15 AC 91 ms
80,644 KB
testcase_16 AC 91 ms
80,716 KB
testcase_17 AC 93 ms
80,640 KB
testcase_18 AC 91 ms
80,488 KB
testcase_19 AC 91 ms
80,660 KB
testcase_20 AC 91 ms
80,140 KB
testcase_21 AC 91 ms
80,364 KB
testcase_22 AC 91 ms
80,424 KB
testcase_23 AC 91 ms
80,468 KB
testcase_24 AC 91 ms
80,468 KB
testcase_25 AC 92 ms
80,456 KB
testcase_26 AC 92 ms
80,336 KB
testcase_27 AC 91 ms
80,416 KB
testcase_28 AC 92 ms
80,372 KB
testcase_29 AC 91 ms
80,500 KB
testcase_30 AC 91 ms
80,636 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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