結果
問題 |
No.1585 Cubic Number
|
ユーザー |
![]() |
提出日時 | 2021-07-09 00:36:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-01 13:46:53 |
合計ジャッジ時間 | 2,008 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
N = int(input()) for i in range(int(N ** (1 / 3)) - 1, int(N ** (1 / 3)) + 1 + 1): if i ** 3 == N: print('Yes') break else: print('No')