結果
| 問題 | No.1585 Cubic Number |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-11 00:43:09 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 161 ms / 1,000 ms |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 658 ms |
| コンパイル使用メモリ | 84,568 KB |
| 実行使用メモリ | 225,152 KB |
| 最終ジャッジ日時 | 2026-04-09 14:51:19 |
| 合計ジャッジ時間 | 6,900 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
import sys
input = lambda: sys.stdin.readline().rstrip()
##################
n = int(input())
st = set()
for i in range(1, 10**6+1):
st.add(i**3)
print('Yes' if n in st else 'No')