結果

問題 No.1585 Cubic Number
ユーザー tamatotamato
提出日時 2021-07-08 22:22:04
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 267 bytes
コンパイル時間 269 ms
使用メモリ 80,740 KB
最終ジャッジ日時 2023-02-01 19:56:58
合計ジャッジ時間 4,163 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 78 ms
80,572 KB
testcase_01 AC 72 ms
76,188 KB
testcase_02 AC 78 ms
80,672 KB
testcase_03 AC 77 ms
80,384 KB
testcase_04 AC 79 ms
80,692 KB
testcase_05 AC 77 ms
80,504 KB
testcase_06 AC 76 ms
80,444 KB
testcase_07 AC 77 ms
80,556 KB
testcase_08 AC 72 ms
76,000 KB
testcase_09 AC 71 ms
76,032 KB
testcase_10 AC 73 ms
76,084 KB
testcase_11 AC 73 ms
76,036 KB
testcase_12 AC 76 ms
80,480 KB
testcase_13 AC 77 ms
80,652 KB
testcase_14 AC 77 ms
80,556 KB
testcase_15 AC 79 ms
80,516 KB
testcase_16 AC 78 ms
80,524 KB
testcase_17 AC 78 ms
80,508 KB
testcase_18 AC 78 ms
80,624 KB
testcase_19 AC 79 ms
80,628 KB
testcase_20 AC 79 ms
80,572 KB
testcase_21 AC 77 ms
80,576 KB
testcase_22 AC 79 ms
80,580 KB
testcase_23 AC 78 ms
80,740 KB
testcase_24 AC 78 ms
80,436 KB
testcase_25 AC 79 ms
80,548 KB
testcase_26 AC 78 ms
80,536 KB
testcase_27 AC 77 ms
80,508 KB
testcase_28 AC 72 ms
76,060 KB
testcase_29 AC 77 ms
80,416 KB
testcase_30 AC 78 ms
80,424 KB
権限があれば一括ダウンロードができます

ソースコード

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