結果
問題 | No.1585 Cubic Number |
ユーザー |
![]() |
提出日時 | 2022-03-23 14:06:32 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 49 ms / 1,000 ms |
コード長 | 152 bytes |
コンパイル時間 | 324 ms |
コンパイル使用メモリ | 82,324 KB |
実行使用メモリ | 57,856 KB |
最終ジャッジ日時 | 2024-10-11 12:11:33 |
合計ジャッジ時間 | 3,003 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
import sys input=lambda:sys.stdin.readline().rstrip() #N,K,P=map(int,input().split()) N=int(input()) c=1 while c**3<N: c+=1 print(['Yes','No'][c**3>N])