Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
14256 chibubao 求约数 C++ 输出格式错误 0 MS 244 KB 159 2023-04-12 03:06:14

Tests(0/1):


#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; }


测评信息: