結果

問題 No.2795 Perfect Number
ユーザー miho-4miho-4
提出日時 2024-06-28 22:28:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 82,148 KB
実行使用メモリ 53,704 KB
最終ジャッジ日時 2024-06-28 22:28:12
合計ジャッジ時間 2,413 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
51,952 KB
testcase_01 AC 32 ms
52,488 KB
testcase_02 AC 32 ms
53,168 KB
testcase_03 AC 32 ms
52,076 KB
testcase_04 AC 32 ms
52,356 KB
testcase_05 AC 33 ms
52,056 KB
testcase_06 AC 32 ms
52,632 KB
testcase_07 AC 39 ms
52,492 KB
testcase_08 AC 36 ms
52,776 KB
testcase_09 AC 34 ms
52,760 KB
testcase_10 AC 32 ms
52,960 KB
testcase_11 AC 32 ms
53,440 KB
testcase_12 AC 32 ms
52,140 KB
testcase_13 AC 33 ms
53,704 KB
testcase_14 AC 33 ms
52,304 KB
testcase_15 AC 32 ms
51,868 KB
testcase_16 AC 32 ms
52,440 KB
testcase_17 AC 32 ms
52,276 KB
testcase_18 AC 34 ms
51,676 KB
testcase_19 AC 33 ms
52,284 KB
testcase_20 AC 32 ms
52,296 KB
testcase_21 AC 34 ms
52,088 KB
testcase_22 AC 33 ms
52,972 KB
testcase_23 AC 39 ms
52,940 KB
testcase_24 AC 32 ms
52,628 KB
testcase_25 AC 32 ms
52,532 KB
testcase_26 AC 31 ms
52,532 KB
testcase_27 AC 31 ms
53,032 KB
testcase_28 AC 32 ms
52,148 KB
testcase_29 AC 32 ms
52,636 KB
testcase_30 AC 33 ms
53,236 KB
testcase_31 AC 31 ms
52,136 KB
testcase_32 AC 39 ms
51,744 KB
testcase_33 AC 32 ms
51,868 KB
testcase_34 AC 31 ms
52,672 KB
testcase_35 AC 31 ms
52,152 KB
testcase_36 AC 32 ms
52,176 KB
testcase_37 AC 31 ms
52,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
if n in [6, 28, 496, 8128, 33550336, 8589869056, 137438691328, 2305843008139952128, 2658455991569831744654692615953842176]:
	print("Yes")
else:
	print("No")
0