結果
| 問題 |
No.2795 Perfect Number
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-06-28 21:25:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 94 bytes |
| コンパイル時間 | 174 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 64,896 KB |
| 最終ジャッジ日時 | 2024-06-28 21:25:12 |
| 合計ジャッジ時間 | 3,776 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 35 |
ソースコード
from sympy import divisors
N = int(input())
print('Yes' if 2*N == sum(divisors(N)) else 'No')