結果
問題 | No.1585 Cubic Number |
ユーザー |
![]() |
提出日時 | 2021-07-10 01:27:33 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 119 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-07-01 20:22:35 |
合計ジャッジ時間 | 2,419 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 22 WA * 6 |
ソースコード
import math N = int(input()) N = N**(1/3) if N == math.floor(N) == math.ceil(N): print("Yes") else: print("No")