結果
| 問題 | No.1585 Cubic Number |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-11 00:43:09 |
| 言語 | PyPy3 (7.3.23 + ac-library) |
| 結果 |
AC
不安定
|
| 実行時間 | 179 ms / 1,000 ms |
| + 694µs | |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 2,194 ms |
| コンパイル使用メモリ | 95,692 KB |
| 実行使用メモリ | 250,412 KB |
| 最終ジャッジ日時 | 2026-09-01 12:46:43 |
| 合計ジャッジ時間 | 7,968 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_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')