Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
75510 sh25_shenpy 求约数 C++ Accepted 0 MS 240 KB 255 2025-12-07 15:24:17

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a,z=0; cin>>a; for(int i=1;i<=a;++i){ if(a%i==0){ cout<<i<<" "; z++; } } cout<<endl; cout<<" "<<z; return 0; }


Judgement Protocol: