結果

問題 No.1585 Cubic Number
ユーザー U S
提出日時 2021-08-14 02:09:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 50 ms / 1,000 ms
コード長 535 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 82,208 KB
実行使用メモリ 63,048 KB
最終ジャッジ日時 2024-10-04 05:34:36
合計ジャッジ時間 2,923 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys
# #sys.setrecursionlimit(1000000)
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
import itertools
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1
inf = int(1e30)
mod = 998244353

n = int(input())
for i in range(1000005):
    if i*i*i == n:
        print("Yes")
        exit()
print("No")
0