全部评论 3

  • 
    #include <bits/stdc++.h>
    using namespace std;
    int main() {
    	freopen("ACGO.in","r",stdin);
    	freopen("ACGO.out","w",stdout);
    	cout<<"     ___       ______   _______   ______ "<<endl;  
        cout<<"    /   \\     /      | /  _____| /  __  \\"<<endl;   
       	cout<<"   /  ^  \\   |  ,----'|  |  __  |  |  |  |"<<endl;  
      	cout<<"  /  /_\\  \\  |  |     |  | |_ | |  |  |  |"<<endl;  
     	cout<<" /  _____  \\ |  `----.|  |__| | |  `--'  |"<<endl;  
    	cout<<"/__/     \\__\\ \\______| \\______|  \\______/"<<endl; 
    	fclose(stdin);
    	fclose(stdout);
    return 0;
    }
    

    2024-08-20 来自 广东

    0
  • #include<bits/stdc++.h>
    using namespace std;
    int main(){
       	freopen("cunmin.in","r",stdin);
    	freopen("cunmin.out","w",stdout);
        long long a,sum=1,cnt=1;
        cin>>a;
        for(int i=2;i<=a;i++){
        	if(a%i==0){
        		sum+=i;
        		cnt*=i;
    		}
    	} 
    	cout<<sum<<endl;
    	cout<<cnt;
    	fclose(stdin);
    	fclose(stdout); 
    	return 0;
    }
    

    2024-08-20 来自 广东

    0
  • #include <bits/stdc++.h>
    using namespace std;
    int main() {
    freopen("ACGO.in","r",stdin);
    freopen("ACGO.out","w",stdout);
    cout<<" ___ ______ _______ ______ "<<endl;
    cout<<" / \ / | / | / __ \"<<endl;
    cout<<" / ^ \ | ,----'| | __ | | | |"<<endl;
    cout<<" / /\ \ | | | | | | | | | |"<<endl;
    cout<<" / _____ \ | ----.| |__| | | --' |"<<endl;
    cout<<"/
    / \
    \ \
    | \| \_____/"<<endl;
    fclose(stdin);
    fclose(stdout);
    return 0;
    }

    2024-08-20 来自 广东

    0

热门讨论