01 2023 档案

摘要:亲和数#include <iostream> using namespace std; int yinzizhihe(int a){ int b = 0; for(int i = 1;i<a;i++){ if(a%i==0){ b = b+i; } } return b; } int main(){ in 阅读全文
posted @ 2023-01-31 20:41 fushuxuan1 阅读(69) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int x; cin>>x; if(x>=95 && x<=100){ cout<<"你获得了王者称号"; }else if(x>=90 && x<= 阅读全文
posted @ 2023-01-31 16:49 fushuxuan1 阅读(14) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示