結果

問題 No.1585 Cubic Number
ユーザー harapecoharapeco
提出日時 2022-03-29 10:53:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 89 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 87,288 KB
実行使用メモリ 71,812 KB
最終ジャッジ日時 2023-08-07 19:13:58
合計ジャッジ時間 4,108 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,672 KB
testcase_01 AC 72 ms
71,348 KB
testcase_02 AC 72 ms
71,696 KB
testcase_03 AC 72 ms
71,760 KB
testcase_04 AC 70 ms
71,604 KB
testcase_05 AC 71 ms
71,696 KB
testcase_06 AC 71 ms
71,676 KB
testcase_07 AC 69 ms
71,616 KB
testcase_08 AC 70 ms
71,592 KB
testcase_09 AC 71 ms
71,548 KB
testcase_10 AC 71 ms
71,812 KB
testcase_11 AC 71 ms
71,572 KB
testcase_12 AC 71 ms
71,752 KB
testcase_13 AC 69 ms
71,756 KB
testcase_14 AC 70 ms
71,520 KB
testcase_15 AC 71 ms
71,740 KB
testcase_16 AC 71 ms
71,576 KB
testcase_17 AC 71 ms
71,324 KB
testcase_18 AC 72 ms
71,624 KB
testcase_19 AC 72 ms
71,400 KB
testcase_20 AC 70 ms
71,720 KB
testcase_21 AC 70 ms
71,760 KB
testcase_22 AC 70 ms
71,736 KB
testcase_23 AC 69 ms
71,708 KB
testcase_24 AC 71 ms
71,608 KB
testcase_25 AC 72 ms
71,608 KB
testcase_26 AC 71 ms
71,696 KB
testcase_27 AC 72 ms
71,548 KB
testcase_28 AC 71 ms
71,780 KB
testcase_29 AC 71 ms
71,808 KB
testcase_30 AC 71 ms
71,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
n = round(N**(1/3))
if n**3 == N:
    print('Yes')
else:
    print('No')
0