結果
問題 | No.2795 Perfect Number |
ユーザー |
![]() |
提出日時 | 2024-06-29 08:19:03 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 116 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-06-29 08:19:06 |
合計ジャッジ時間 | 3,074 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 WA * 3 |
ソースコード
S = set() for i in range(2, 30): S.add(2**(i-1) * (2**i - 1)) print("Yes") if int(input()) in S else print("No")