結果

問題 No.1585 Cubic Number
ユーザー 8989
提出日時 2022-02-12 02:11:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 75,828 KB
最終ジャッジ日時 2023-09-10 10:05:18
合計ジャッジ時間 4,107 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
75,592 KB
testcase_01 WA -
testcase_02 AC 70 ms
71,000 KB
testcase_03 AC 70 ms
70,980 KB
testcase_04 AC 70 ms
71,152 KB
testcase_05 AC 71 ms
71,116 KB
testcase_06 AC 70 ms
71,104 KB
testcase_07 AC 70 ms
71,120 KB
testcase_08 AC 71 ms
71,148 KB
testcase_09 AC 69 ms
71,148 KB
testcase_10 AC 69 ms
70,848 KB
testcase_11 AC 73 ms
71,164 KB
testcase_12 AC 76 ms
75,620 KB
testcase_13 AC 74 ms
75,608 KB
testcase_14 AC 75 ms
75,600 KB
testcase_15 AC 70 ms
71,112 KB
testcase_16 AC 70 ms
71,340 KB
testcase_17 AC 69 ms
70,976 KB
testcase_18 AC 75 ms
75,764 KB
testcase_19 AC 78 ms
75,528 KB
testcase_20 AC 76 ms
75,828 KB
testcase_21 AC 75 ms
75,788 KB
testcase_22 AC 76 ms
75,620 KB
testcase_23 AC 76 ms
75,800 KB
testcase_24 AC 77 ms
75,608 KB
testcase_25 AC 77 ms
75,756 KB
testcase_26 AC 77 ms
75,648 KB
testcase_27 AC 76 ms
75,620 KB
testcase_28 AC 69 ms
71,360 KB
testcase_29 AC 71 ms
71,276 KB
testcase_30 AC 77 ms
75,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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