結果

問題 No.1585 Cubic Number
ユーザー horitaka1999horitaka1999
提出日時 2021-07-08 22:27:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 164 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,016 KB
実行使用メモリ 76,108 KB
最終ジャッジ日時 2023-09-14 06:06:55
合計ジャッジ時間 3,866 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
76,016 KB
testcase_01 AC 73 ms
76,092 KB
testcase_02 AC 74 ms
75,924 KB
testcase_03 AC 74 ms
75,972 KB
testcase_04 AC 81 ms
75,696 KB
testcase_05 AC 74 ms
75,852 KB
testcase_06 AC 73 ms
75,808 KB
testcase_07 AC 75 ms
75,672 KB
testcase_08 AC 74 ms
75,976 KB
testcase_09 AC 73 ms
76,012 KB
testcase_10 AC 74 ms
75,696 KB
testcase_11 AC 72 ms
76,072 KB
testcase_12 AC 75 ms
76,108 KB
testcase_13 AC 75 ms
76,048 KB
testcase_14 AC 75 ms
75,716 KB
testcase_15 AC 74 ms
75,936 KB
testcase_16 AC 76 ms
75,688 KB
testcase_17 AC 76 ms
75,984 KB
testcase_18 AC 74 ms
75,788 KB
testcase_19 AC 74 ms
76,068 KB
testcase_20 AC 72 ms
75,768 KB
testcase_21 AC 73 ms
75,844 KB
testcase_22 AC 74 ms
76,068 KB
testcase_23 AC 74 ms
75,996 KB
testcase_24 AC 72 ms
75,692 KB
testcase_25 AC 74 ms
75,868 KB
testcase_26 AC 73 ms
75,668 KB
testcase_27 AC 76 ms
75,988 KB
testcase_28 AC 71 ms
76,068 KB
testcase_29 AC 73 ms
75,752 KB
testcase_30 AC 73 ms
75,964 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