| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 14257 | chibubao | 求约数 | C++ | Accepted | 0 MS | 244 KB | 160 | 2023-04-12 03:07:02 |
#include<iostream> using namespace std; int main() { int a,i,cnt=0; cin>>a; for(i=1;i<=a;i++) if(a%i==0) cout<<i<<" ",cnt++; cout<<"\n "<<cnt; }