結果

問題 No.1585 Cubic Number
ユーザー 8989
提出日時 2022-02-12 02:11:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 1,000 ms
コード長 141 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 75,924 KB
最終ジャッジ日時 2023-09-10 10:05:29
合計ジャッジ時間 3,888 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
75,760 KB
testcase_01 AC 71 ms
71,124 KB
testcase_02 AC 70 ms
71,276 KB
testcase_03 AC 71 ms
71,264 KB
testcase_04 AC 71 ms
70,896 KB
testcase_05 AC 71 ms
71,260 KB
testcase_06 AC 71 ms
71,148 KB
testcase_07 AC 70 ms
71,116 KB
testcase_08 AC 71 ms
71,004 KB
testcase_09 AC 70 ms
71,116 KB
testcase_10 AC 71 ms
71,056 KB
testcase_11 AC 70 ms
70,984 KB
testcase_12 AC 77 ms
75,836 KB
testcase_13 AC 77 ms
75,784 KB
testcase_14 AC 77 ms
75,728 KB
testcase_15 AC 71 ms
71,120 KB
testcase_16 AC 71 ms
70,972 KB
testcase_17 AC 72 ms
71,180 KB
testcase_18 AC 76 ms
75,660 KB
testcase_19 AC 78 ms
75,604 KB
testcase_20 AC 75 ms
75,684 KB
testcase_21 AC 76 ms
75,924 KB
testcase_22 AC 76 ms
75,604 KB
testcase_23 AC 77 ms
75,600 KB
testcase_24 AC 77 ms
75,788 KB
testcase_25 AC 77 ms
75,784 KB
testcase_26 AC 76 ms
75,572 KB
testcase_27 AC 76 ms
75,604 KB
testcase_28 AC 71 ms
71,252 KB
testcase_29 AC 71 ms
70,968 KB
testcase_30 AC 77 ms
75,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
for i in range(1,10000000):
    if i**3 == n:
        print("Yes")
        exit()
    if i**3 > n:
        break
print("No")
0