結果
| 問題 |
No.1585 Cubic Number
|
| コンテスト | |
| ユーザー |
riku_yam
|
| 提出日時 | 2021-07-08 22:30:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 117 bytes |
| コンパイル時間 | 87 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-01 12:49:16 |
| 合計ジャッジ時間 | 2,045 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 9 |
ソースコード
n = int(input())
m = n**0.5
for i in [m-1,m,m+1]:
if i**2 == n:
print("Yes")
exit()
print("No")
riku_yam