結果
問題 | No.2795 Perfect Number |
ユーザー |
|
提出日時 | 2025-01-29 15:22:15 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 442 ms |
コンパイル使用メモリ | 82,352 KB |
実行使用メモリ | 67,884 KB |
最終ジャッジ日時 | 2025-01-29 15:22:20 |
合計ジャッジ時間 | 4,286 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 35 |
ソースコード
#入力x = input()#約数判定divisor = []for i in range(1,i,1):if x % i ==0:divisor.append(x)#完全数判定if divisor.sum() == 2*x:print("Yes")else:print("No")