結果
問題 | No.1585 Cubic Number |
ユーザー |
|
提出日時 | 2021-07-08 22:27:40 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 1,000 ms |
コード長 | 164 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 81,988 KB |
実行使用メモリ | 58,496 KB |
最終ジャッジ日時 | 2024-07-01 13:41:06 |
合計ジャッジ時間 | 2,514 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
import math N = int(input()) p = 0 flag = False for n in range(1,10 ** 6+1): if N == n ** 3: flag = True if flag: print('Yes') else: print('No')