結果

問題 No.1585 Cubic Number
ユーザー tamato
提出日時 2021-07-08 22:22:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 267 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 59,244 KB
最終ジャッジ日時 2024-07-01 13:37:45
合計ジャッジ時間 2,449 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    for i in range(1, 10**6+10):
        if i**3 == N:
            print("Yes")
            exit()
    print("No")


if __name__ == '__main__':
    main()
0