結果

問題 No.2795 Perfect Number
ユーザー miya145592miya145592
提出日時 2024-06-28 21:28:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 82,160 KB
実行使用メモリ 53,640 KB
最終ジャッジ日時 2024-06-28 21:28:40
合計ジャッジ時間 2,426 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,072 KB
testcase_01 AC 34 ms
53,048 KB
testcase_02 AC 32 ms
52,704 KB
testcase_03 AC 32 ms
53,064 KB
testcase_04 AC 29 ms
53,160 KB
testcase_05 AC 34 ms
52,208 KB
testcase_06 AC 37 ms
52,420 KB
testcase_07 AC 36 ms
53,072 KB
testcase_08 AC 37 ms
52,432 KB
testcase_09 AC 35 ms
52,180 KB
testcase_10 AC 35 ms
52,268 KB
testcase_11 AC 33 ms
53,188 KB
testcase_12 AC 35 ms
52,536 KB
testcase_13 AC 34 ms
52,144 KB
testcase_14 AC 32 ms
53,376 KB
testcase_15 AC 32 ms
52,340 KB
testcase_16 AC 31 ms
52,056 KB
testcase_17 AC 32 ms
53,212 KB
testcase_18 AC 33 ms
52,088 KB
testcase_19 AC 33 ms
52,488 KB
testcase_20 AC 31 ms
52,568 KB
testcase_21 AC 33 ms
53,640 KB
testcase_22 AC 32 ms
51,872 KB
testcase_23 AC 43 ms
52,140 KB
testcase_24 AC 32 ms
51,832 KB
testcase_25 AC 33 ms
53,184 KB
testcase_26 AC 32 ms
52,824 KB
testcase_27 AC 33 ms
52,264 KB
testcase_28 AC 31 ms
52,768 KB
testcase_29 AC 31 ms
52,548 KB
testcase_30 AC 31 ms
52,152 KB
testcase_31 AC 31 ms
52,080 KB
testcase_32 AC 31 ms
52,084 KB
testcase_33 AC 30 ms
53,280 KB
testcase_34 AC 31 ms
53,132 KB
testcase_35 AC 31 ms
51,776 KB
testcase_36 AC 31 ms
52,016 KB
testcase_37 AC 31 ms
52,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
S = {6, 28, 496, 8128, 33550336, 8589869056, 137438691328, 2305843008139952128}
N = int(input())
if N in S:
    print("Yes")
else:
    print("No")
0