1 条题解

  • 0
    @ 2024-7-26 9:38:35
    #include<iostream>
    using namespace std;
    int main(){
    	int a;
    	cin>>a;
    	for(int i=1;i<=a;i++){
    		if(a%i==0){
    			cout<<i<<endl;
    		}
    	}
    	return 0;
    }
    
    • 1

    信息

    ID
    3129
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    25
    已通过
    11
    上传者