結果

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

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 80 ms
80,116 KB
testcase_01 AC 74 ms
75,832 KB
testcase_02 AC 77 ms
75,524 KB
testcase_03 AC 75 ms
75,744 KB
testcase_04 AC 75 ms
75,848 KB
testcase_05 AC 74 ms
75,716 KB
testcase_06 AC 74 ms
75,752 KB
testcase_07 AC 75 ms
75,680 KB
testcase_08 AC 74 ms
75,540 KB
testcase_09 AC 75 ms
75,472 KB
testcase_10 AC 74 ms
75,768 KB
testcase_11 AC 74 ms
75,960 KB
testcase_12 AC 80 ms
80,308 KB
testcase_13 AC 79 ms
80,352 KB
testcase_14 AC 80 ms
80,332 KB
testcase_15 AC 78 ms
80,684 KB
testcase_16 AC 80 ms
80,300 KB
testcase_17 AC 77 ms
80,352 KB
testcase_18 AC 79 ms
80,268 KB
testcase_19 AC 80 ms
80,488 KB
testcase_20 AC 80 ms
80,288 KB
testcase_21 AC 81 ms
80,304 KB
testcase_22 AC 81 ms
80,340 KB
testcase_23 AC 80 ms
80,308 KB
testcase_24 AC 79 ms
80,464 KB
testcase_25 AC 81 ms
80,336 KB
testcase_26 AC 80 ms
80,600 KB
testcase_27 AC 81 ms
80,304 KB
testcase_28 AC 75 ms
75,536 KB
testcase_29 AC 76 ms
75,800 KB
testcase_30 AC 82 ms
80,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
for i in range(min(N+1, 1+10**6)):
    if i**3 == N:
        print('Yes')
        exit()
print('No')
0