結果

問題 No.1585 Cubic Number
ユーザー shiomusubi496
提出日時 2021-07-08 22:20:55
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 2,135 ms
コンパイル使用メモリ 191,628 KB
最終ジャッジ日時 2025-01-22 18:19:14
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 20 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
    int N; cin>>N;
    int i=1;
    for(;i*i*i<=N;i++);
    if(i*i*i==N)puts("Yes");
    else puts("No");
}
0