結果

問題 No.1585 Cubic Number
ユーザー DrqYutoDrqYuto
提出日時 2021-07-31 18:36:56
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 57 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,696 KB
最終ジャッジ日時 2023-10-14 15:07:56
合計ジャッジ時間 4,239 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
15,640 KB
testcase_01 AC 70 ms
15,424 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 68 ms
15,616 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 71 ms
15,436 KB
testcase_08 AC 69 ms
15,516 KB
testcase_09 AC 70 ms
15,644 KB
testcase_10 AC 74 ms
15,512 KB
testcase_11 AC 76 ms
15,528 KB
testcase_12 AC 76 ms
15,392 KB
testcase_13 AC 76 ms
15,388 KB
testcase_14 AC 77 ms
15,476 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 75 ms
15,428 KB
testcase_19 AC 74 ms
15,632 KB
testcase_20 AC 75 ms
15,628 KB
testcase_21 AC 72 ms
15,548 KB
testcase_22 AC 75 ms
15,432 KB
testcase_23 AC 75 ms
15,392 KB
testcase_24 AC 76 ms
15,544 KB
testcase_25 AC 72 ms
15,556 KB
testcase_26 AC 73 ms
15,664 KB
testcase_27 AC 72 ms
15,516 KB
testcase_28 AC 77 ms
15,560 KB
testcase_29 WA -
testcase_30 AC 77 ms
15,460 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i;puts (Math.cbrt(n)**3).to_i == n ? :Yes : :No
0