結果
問題 | No.2795 Perfect Number |
ユーザー |
|
提出日時 | 2025-01-29 14:27:28 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 177 bytes |
コンパイル時間 | 392 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 67,668 KB |
最終ジャッジ日時 | 2025-01-29 14:27:32 |
合計ジャッジ時間 | 4,226 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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() == x:print("Yes")else:print("No")