摘要: 完数 #include <iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<=n;i++){ int sum=0; for(int j=1;j<i;j++){ if(i%j==0){ sum+=j; } } i 阅读全文
posted @ 2023-05-21 09:45 晨观夕 阅读(19) 评论(0) 推荐(0) 编辑