結果

問題 No.1585 Cubic Number
ユーザー 河野竜也河野竜也
提出日時 2021-09-03 14:19:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 525 ms / 1,000 ms
コード長 109 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 87,452 KB
最終ジャッジ日時 2023-08-21 11:53:23
合計ジャッジ時間 19,877 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 510 ms
87,240 KB
testcase_01 AC 523 ms
87,276 KB
testcase_02 AC 525 ms
87,248 KB
testcase_03 AC 512 ms
87,344 KB
testcase_04 AC 509 ms
87,272 KB
testcase_05 AC 509 ms
87,284 KB
testcase_06 AC 511 ms
87,244 KB
testcase_07 AC 506 ms
87,232 KB
testcase_08 AC 520 ms
87,320 KB
testcase_09 AC 510 ms
87,176 KB
testcase_10 AC 510 ms
87,236 KB
testcase_11 AC 513 ms
87,336 KB
testcase_12 AC 524 ms
87,332 KB
testcase_13 AC 516 ms
87,188 KB
testcase_14 AC 518 ms
87,248 KB
testcase_15 AC 521 ms
87,228 KB
testcase_16 AC 518 ms
87,268 KB
testcase_17 AC 519 ms
87,324 KB
testcase_18 AC 512 ms
87,268 KB
testcase_19 AC 520 ms
87,288 KB
testcase_20 AC 516 ms
87,452 KB
testcase_21 AC 516 ms
87,264 KB
testcase_22 AC 518 ms
87,156 KB
testcase_23 AC 514 ms
87,228 KB
testcase_24 AC 514 ms
87,160 KB
testcase_25 AC 516 ms
87,340 KB
testcase_26 AC 513 ms
87,176 KB
testcase_27 AC 522 ms
87,368 KB
testcase_28 AC 523 ms
87,256 KB
testcase_29 AC 518 ms
87,264 KB
testcase_30 AC 514 ms
87,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=set()
for i in range(1,10**6+1):
  a.add(i**3)
n=int(input())
if n in a:
  print("Yes")
else:
  print("No")
0