結果

問題 No.1585 Cubic Number
ユーザー ProgrammerryokiProgrammerryoki
提出日時 2021-07-08 22:22:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 149 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 8,448 KB
最終ジャッジ日時 2023-09-14 04:59:12
合計ジャッジ時間 1,778 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,808 KB
testcase_01 WA -
testcase_02 AC 12 ms
7,812 KB
testcase_03 AC 12 ms
7,820 KB
testcase_04 AC 12 ms
7,884 KB
testcase_05 AC 12 ms
7,976 KB
testcase_06 AC 12 ms
7,816 KB
testcase_07 AC 12 ms
7,824 KB
testcase_08 AC 12 ms
8,240 KB
testcase_09 AC 12 ms
8,212 KB
testcase_10 AC 12 ms
8,300 KB
testcase_11 AC 13 ms
8,448 KB
testcase_12 AC 14 ms
8,436 KB
testcase_13 AC 12 ms
8,244 KB
testcase_14 AC 12 ms
8,288 KB
testcase_15 AC 12 ms
7,772 KB
testcase_16 AC 13 ms
7,840 KB
testcase_17 AC 12 ms
7,812 KB
testcase_18 AC 12 ms
7,888 KB
testcase_19 AC 12 ms
7,824 KB
testcase_20 AC 13 ms
7,852 KB
testcase_21 AC 13 ms
7,936 KB
testcase_22 AC 13 ms
7,808 KB
testcase_23 AC 12 ms
7,856 KB
testcase_24 AC 12 ms
7,732 KB
testcase_25 AC 12 ms
7,816 KB
testcase_26 AC 12 ms
7,920 KB
testcase_27 AC 12 ms
7,888 KB
testcase_28 AC 12 ms
8,360 KB
testcase_29 AC 13 ms
7,936 KB
testcase_30 AC 12 ms
8,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
for i in range(round(N**(1/3)), N):
    if i**3 == N:
        print("Yes")
        exit()
    if i**3 > N:
        break
print("No")
0