結果
| 問題 | No.1585 Cubic Number |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-25 16:09:19 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 1,000 ms |
| コード長 | 245 bytes |
| 記録 | |
| コンパイル時間 | 1,849 ms |
| コンパイル使用メモリ | 193,180 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-12-25 16:09:22 |
| 合計ジャッジ時間 | 3,471 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
int N;
signed main(){
cin>>N;
for(int i = 0; i <= 1e6; i++){
if(i*i*i == N){
cout << "Yes" << "\n";
return 0;
}
}
cout << "No" << "\n";
}