結果

問題 No.1585 Cubic Number
ユーザー shotoyooshotoyoo
提出日時 2021-07-08 22:21:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 345 bytes
コンパイル時間 351 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 75,968 KB
最終ジャッジ日時 2023-09-14 05:59:40
合計ジャッジ時間 3,773 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
75,716 KB
testcase_01 AC 70 ms
71,332 KB
testcase_02 AC 74 ms
75,968 KB
testcase_03 AC 75 ms
75,516 KB
testcase_04 AC 75 ms
75,660 KB
testcase_05 AC 75 ms
75,516 KB
testcase_06 AC 75 ms
75,768 KB
testcase_07 AC 75 ms
75,544 KB
testcase_08 AC 68 ms
71,312 KB
testcase_09 AC 67 ms
71,400 KB
testcase_10 AC 67 ms
71,284 KB
testcase_11 AC 69 ms
71,540 KB
testcase_12 AC 74 ms
75,808 KB
testcase_13 AC 71 ms
75,672 KB
testcase_14 AC 72 ms
75,520 KB
testcase_15 AC 74 ms
75,520 KB
testcase_16 AC 74 ms
75,628 KB
testcase_17 AC 74 ms
75,608 KB
testcase_18 AC 73 ms
75,608 KB
testcase_19 AC 75 ms
75,648 KB
testcase_20 AC 72 ms
75,812 KB
testcase_21 AC 75 ms
75,668 KB
testcase_22 AC 74 ms
75,600 KB
testcase_23 AC 71 ms
75,680 KB
testcase_24 AC 72 ms
75,864 KB
testcase_25 AC 72 ms
75,756 KB
testcase_26 AC 73 ms
75,916 KB
testcase_27 AC 74 ms
75,616 KB
testcase_28 AC 66 ms
71,360 KB
testcase_29 AC 73 ms
75,684 KB
testcase_30 AC 72 ms
75,676 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