結果

問題 No.1585 Cubic Number
ユーザー wesoweeenwesoweeen
提出日時 2021-07-20 21:39:29
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 151 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 29,708 KB
最終ジャッジ日時 2023-09-24 12:56:46
合計ジャッジ時間 7,173 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 137 ms
29,484 KB
testcase_02 AC 138 ms
29,584 KB
testcase_03 AC 136 ms
29,616 KB
testcase_04 AC 140 ms
29,640 KB
testcase_05 AC 136 ms
29,444 KB
testcase_06 AC 136 ms
29,608 KB
testcase_07 AC 139 ms
29,468 KB
testcase_08 AC 136 ms
29,476 KB
testcase_09 AC 137 ms
29,608 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 136 ms
29,484 KB
testcase_15 AC 139 ms
29,556 KB
testcase_16 AC 138 ms
29,512 KB
testcase_17 AC 137 ms
29,692 KB
testcase_18 AC 136 ms
29,608 KB
testcase_19 AC 138 ms
29,628 KB
testcase_20 AC 138 ms
29,556 KB
testcase_21 AC 138 ms
29,612 KB
testcase_22 AC 135 ms
29,608 KB
testcase_23 AC 136 ms
29,540 KB
testcase_24 AC 140 ms
29,492 KB
testcase_25 AC 136 ms
29,580 KB
testcase_26 AC 137 ms
29,452 KB
testcase_27 AC 138 ms
29,708 KB
testcase_28 AC 138 ms
29,456 KB
testcase_29 AC 137 ms
29,588 KB
testcase_30 AC 137 ms
29,604 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy 
def main():
    N = int(input())
    print('Yes') if numpy.cbrt(N).is_integer() else print('No')


if __name__ == '__main__':
    main()
0