結果

問題 No.1585 Cubic Number
ユーザー mesame3993mesame3993
提出日時 2021-09-26 20:11:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 408 ms / 1,000 ms
コード長 100 bytes
コンパイル時間 1,038 ms
コンパイル使用メモリ 87,056 KB
実行使用メモリ 178,640 KB
最終ジャッジ日時 2023-09-19 04:23:38
合計ジャッジ時間 15,309 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 376 ms
177,072 KB
testcase_01 AC 378 ms
177,524 KB
testcase_02 AC 366 ms
177,628 KB
testcase_03 AC 408 ms
177,344 KB
testcase_04 AC 382 ms
177,728 KB
testcase_05 AC 374 ms
177,372 KB
testcase_06 AC 370 ms
177,384 KB
testcase_07 AC 365 ms
177,628 KB
testcase_08 AC 369 ms
177,680 KB
testcase_09 AC 381 ms
177,632 KB
testcase_10 AC 380 ms
177,424 KB
testcase_11 AC 378 ms
178,640 KB
testcase_12 AC 392 ms
177,516 KB
testcase_13 AC 385 ms
177,612 KB
testcase_14 AC 389 ms
177,560 KB
testcase_15 AC 386 ms
177,404 KB
testcase_16 AC 389 ms
177,920 KB
testcase_17 AC 395 ms
178,340 KB
testcase_18 AC 383 ms
177,504 KB
testcase_19 AC 380 ms
177,764 KB
testcase_20 AC 378 ms
177,648 KB
testcase_21 AC 383 ms
178,092 KB
testcase_22 AC 379 ms
177,648 KB
testcase_23 AC 388 ms
177,816 KB
testcase_24 AC 385 ms
177,492 KB
testcase_25 AC 383 ms
177,500 KB
testcase_26 AC 379 ms
177,504 KB
testcase_27 AC 373 ms
177,216 KB
testcase_28 AC 377 ms
177,608 KB
testcase_29 AC 376 ms
178,500 KB
testcase_30 AC 380 ms
178,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = set()
for i in range(1, 1000001):
	A |= {i**3}
print('Yes' if n in A else 'No')
0