結果

問題 No.1585 Cubic Number
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2021-07-08 23:35:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 1,000 ms
コード長 89 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 75,872 KB
最終ジャッジ日時 2023-09-14 06:11:47
合計ジャッジ時間 3,796 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
75,628 KB
testcase_01 AC 70 ms
71,512 KB
testcase_02 AC 72 ms
71,308 KB
testcase_03 AC 70 ms
71,312 KB
testcase_04 AC 70 ms
71,180 KB
testcase_05 AC 70 ms
71,404 KB
testcase_06 AC 69 ms
71,116 KB
testcase_07 AC 69 ms
71,332 KB
testcase_08 AC 69 ms
71,028 KB
testcase_09 AC 69 ms
71,160 KB
testcase_10 AC 71 ms
71,020 KB
testcase_11 AC 70 ms
71,240 KB
testcase_12 AC 74 ms
75,708 KB
testcase_13 AC 73 ms
75,552 KB
testcase_14 AC 73 ms
75,760 KB
testcase_15 AC 68 ms
71,024 KB
testcase_16 AC 70 ms
71,352 KB
testcase_17 AC 73 ms
71,164 KB
testcase_18 AC 75 ms
75,676 KB
testcase_19 AC 73 ms
75,764 KB
testcase_20 AC 73 ms
75,676 KB
testcase_21 AC 73 ms
75,680 KB
testcase_22 AC 74 ms
75,872 KB
testcase_23 AC 74 ms
75,764 KB
testcase_24 AC 74 ms
75,652 KB
testcase_25 AC 74 ms
75,576 KB
testcase_26 AC 74 ms
75,668 KB
testcase_27 AC 75 ms
75,420 KB
testcase_28 AC 68 ms
71,428 KB
testcase_29 AC 71 ms
71,536 KB
testcase_30 AC 77 ms
75,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
i=1
ans="No"
while i**3<=n:
    if i**3==n:ans="Yes"
    i+=1

print(ans)
0