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