結果
| 問題 |
No.1585 Cubic Number
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-08 22:32:54 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 1,000 ms |
| コード長 | 126 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 82,108 KB |
| 実行使用メモリ | 59,652 KB |
| 最終ジャッジ日時 | 2024-07-01 13:42:02 |
| 合計ジャッジ時間 | 2,396 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
import math, sys
n = int(input())
for i in range(10**6+1):
if i**3==n:
print('Yes')
sys.exit()
print('No')