結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 458 ms
87,484 KB
testcase_01 AC 436 ms
87,312 KB
testcase_02 AC 438 ms
87,444 KB
testcase_03 AC 441 ms
87,464 KB
testcase_04 AC 449 ms
87,440 KB
testcase_05 AC 445 ms
87,372 KB
testcase_06 AC 436 ms
87,444 KB
testcase_07 AC 430 ms
87,300 KB
testcase_08 AC 430 ms
87,368 KB
testcase_09 AC 433 ms
87,448 KB
testcase_10 AC 431 ms
87,428 KB
testcase_11 AC 433 ms
87,368 KB
testcase_12 AC 437 ms
87,300 KB
testcase_13 AC 432 ms
87,300 KB
testcase_14 AC 431 ms
87,324 KB
testcase_15 AC 436 ms
87,432 KB
testcase_16 AC 433 ms
87,432 KB
testcase_17 AC 435 ms
87,300 KB
testcase_18 AC 438 ms
87,324 KB
testcase_19 AC 441 ms
87,488 KB
testcase_20 AC 426 ms
87,328 KB
testcase_21 AC 427 ms
87,308 KB
testcase_22 AC 432 ms
87,344 KB
testcase_23 AC 435 ms
87,328 KB
testcase_24 AC 436 ms
87,328 KB
testcase_25 AC 427 ms
87,472 KB
testcase_26 AC 433 ms
87,472 KB
testcase_27 AC 424 ms
87,444 KB
testcase_28 AC 433 ms
87,448 KB
testcase_29 AC 423 ms
87,428 KB
testcase_30 AC 425 ms
87,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())

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

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