結果

問題 No.1585 Cubic Number
ユーザー shotoyooshotoyoo
提出日時 2021-07-08 22:21:09
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 82 ms / 1,000 ms
コード長 345 bytes
コンパイル時間 247 ms
使用メモリ 80,676 KB
最終ジャッジ日時 2023-02-01 19:52:22
合計ジャッジ時間 4,153 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 79 ms
80,260 KB
testcase_01 AC 73 ms
75,704 KB
testcase_02 AC 79 ms
80,352 KB
testcase_03 AC 79 ms
80,676 KB
testcase_04 AC 80 ms
80,632 KB
testcase_05 AC 78 ms
80,364 KB
testcase_06 AC 78 ms
80,344 KB
testcase_07 AC 78 ms
80,372 KB
testcase_08 AC 73 ms
75,596 KB
testcase_09 AC 76 ms
75,440 KB
testcase_10 AC 75 ms
75,704 KB
testcase_11 AC 74 ms
75,704 KB
testcase_12 AC 82 ms
80,444 KB
testcase_13 AC 78 ms
80,368 KB
testcase_14 AC 78 ms
80,320 KB
testcase_15 AC 78 ms
80,360 KB
testcase_16 AC 79 ms
80,376 KB
testcase_17 AC 79 ms
80,556 KB
testcase_18 AC 80 ms
80,308 KB
testcase_19 AC 79 ms
80,556 KB
testcase_20 AC 78 ms
80,304 KB
testcase_21 AC 79 ms
80,292 KB
testcase_22 AC 78 ms
80,304 KB
testcase_23 AC 78 ms
80,292 KB
testcase_24 AC 77 ms
80,256 KB
testcase_25 AC 79 ms
80,136 KB
testcase_26 AC 77 ms
80,296 KB
testcase_27 AC 80 ms
80,256 KB
testcase_28 AC 77 ms
75,444 KB
testcase_29 AC 79 ms
80,228 KB
testcase_30 AC 78 ms
80,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda : sys.stdin.readline().rstrip()

sys.setrecursionlimit(2*10**5+10)
write = lambda x: sys.stdout.write(x+"\n")
debug = lambda x: sys.stderr.write(x+"\n")
writef = lambda x: print("{:.12f}".format(x))


n = int(input())
for i in range(1, 10**6+10):
    if i**3==n:
        print("Yes")
        break
else:
    print("No")
0