結果

問題 No.1585 Cubic Number
ユーザー TomoyarnTomoyarn
提出日時 2022-01-13 20:13:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 957 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 59,272 KB
最終ジャッジ日時 2024-04-28 18:06:36
合計ジャッジ時間 2,859 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
57,868 KB
testcase_01 AC 37 ms
53,476 KB
testcase_02 AC 38 ms
52,420 KB
testcase_03 AC 39 ms
52,820 KB
testcase_04 AC 38 ms
52,344 KB
testcase_05 AC 40 ms
52,440 KB
testcase_06 AC 38 ms
52,076 KB
testcase_07 AC 40 ms
53,524 KB
testcase_08 AC 39 ms
52,880 KB
testcase_09 AC 39 ms
52,744 KB
testcase_10 AC 39 ms
52,460 KB
testcase_11 AC 39 ms
52,200 KB
testcase_12 AC 42 ms
58,096 KB
testcase_13 AC 41 ms
58,724 KB
testcase_14 AC 42 ms
58,648 KB
testcase_15 AC 38 ms
52,084 KB
testcase_16 AC 38 ms
52,440 KB
testcase_17 AC 39 ms
52,560 KB
testcase_18 AC 44 ms
59,272 KB
testcase_19 AC 45 ms
58,300 KB
testcase_20 AC 41 ms
58,848 KB
testcase_21 AC 44 ms
57,856 KB
testcase_22 AC 43 ms
58,308 KB
testcase_23 AC 44 ms
58,472 KB
testcase_24 AC 43 ms
58,252 KB
testcase_25 AC 42 ms
58,848 KB
testcase_26 AC 45 ms
58,368 KB
testcase_27 AC 44 ms
58,008 KB
testcase_28 AC 37 ms
53,060 KB
testcase_29 AC 39 ms
53,556 KB
testcase_30 AC 44 ms
57,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

ans = "No"
i = 1
while True:
    j = i **3
    if j == N:
        ans = "Yes"
        break
    if j > N:
        break
    i += 1
print(ans)
0