結果

問題 No.1585 Cubic Number
ユーザー teepeeteeteepeetee
提出日時 2021-07-18 16:09:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 102 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 10,548 KB
実行使用メモリ 87,572 KB
最終ジャッジ日時 2023-09-22 18:27:17
合計ジャッジ時間 15,124 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 415 ms
87,300 KB
testcase_01 WA -
testcase_02 AC 423 ms
87,296 KB
testcase_03 AC 434 ms
87,432 KB
testcase_04 AC 412 ms
87,512 KB
testcase_05 AC 432 ms
87,368 KB
testcase_06 AC 427 ms
87,488 KB
testcase_07 AC 429 ms
87,364 KB
testcase_08 AC 427 ms
87,428 KB
testcase_09 AC 409 ms
87,316 KB
testcase_10 AC 407 ms
87,312 KB
testcase_11 AC 413 ms
87,464 KB
testcase_12 AC 412 ms
87,312 KB
testcase_13 AC 409 ms
87,388 KB
testcase_14 AC 410 ms
87,432 KB
testcase_15 AC 409 ms
87,396 KB
testcase_16 AC 423 ms
87,448 KB
testcase_17 AC 412 ms
87,368 KB
testcase_18 AC 418 ms
87,448 KB
testcase_19 AC 436 ms
87,304 KB
testcase_20 AC 391 ms
87,352 KB
testcase_21 AC 406 ms
87,300 KB
testcase_22 AC 422 ms
87,448 KB
testcase_23 AC 422 ms
87,392 KB
testcase_24 AC 407 ms
87,396 KB
testcase_25 AC 418 ms
87,432 KB
testcase_26 AC 425 ms
87,316 KB
testcase_27 AC 412 ms
87,512 KB
testcase_28 AC 422 ms
87,376 KB
testcase_29 AC 423 ms
87,500 KB
testcase_30 AC 414 ms
87,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())

x={ i**3 for i in range(2,10**6+1)}

if n in x:
    print('Yes')
else:
    print('No')
0