結果

問題 No.1585 Cubic Number
ユーザー horitaka1999horitaka1999
提出日時 2021-07-08 22:25:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 76,156 KB
最終ジャッジ日時 2023-09-14 05:04:34
合計ジャッジ時間 3,801 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
75,984 KB
testcase_01 AC 66 ms
75,888 KB
testcase_02 AC 66 ms
76,112 KB
testcase_03 AC 67 ms
75,956 KB
testcase_04 AC 73 ms
75,768 KB
testcase_05 AC 69 ms
76,092 KB
testcase_06 AC 69 ms
75,688 KB
testcase_07 AC 69 ms
75,716 KB
testcase_08 AC 71 ms
75,976 KB
testcase_09 AC 64 ms
76,120 KB
testcase_10 AC 64 ms
75,848 KB
testcase_11 AC 67 ms
75,984 KB
testcase_12 AC 71 ms
75,948 KB
testcase_13 AC 69 ms
75,992 KB
testcase_14 AC 71 ms
75,748 KB
testcase_15 AC 69 ms
75,732 KB
testcase_16 AC 71 ms
76,132 KB
testcase_17 AC 67 ms
75,724 KB
testcase_18 AC 73 ms
76,156 KB
testcase_19 AC 70 ms
75,960 KB
testcase_20 AC 74 ms
75,976 KB
testcase_21 AC 72 ms
75,956 KB
testcase_22 AC 68 ms
75,892 KB
testcase_23 AC 65 ms
75,744 KB
testcase_24 AC 68 ms
75,720 KB
testcase_25 AC 65 ms
75,716 KB
testcase_26 AC 67 ms
75,964 KB
testcase_27 AC 66 ms
75,972 KB
testcase_28 AC 67 ms
76,012 KB
testcase_29 AC 67 ms
76,048 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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