20分,其他的都是wa,为啥?

P1075 [NOIP2012 普及组] 质因数分解

@[Helenal](/space/show?uid=45385) 2是质数
by lady_GG @ 2019-09-22 13:02:50


@[Helenal](/space/show?uid=45385) 正解其实很短 ```cpp #include<iostream> using namespace std; int main(){ int n,i; cin>>n; for(i=2;n%i;i++); cout<<n/i; } ```
by ⚡小林孑⚡ @ 2019-09-22 13:02:53


@[Helenal](/space/show?uid=45385)
by lady_GG @ 2019-09-22 13:03:00


@[Helenal](/space/show?uid=45385) 没事,下次注意
by 时间重洗 @ 2019-09-22 13:05:56


@[lady_GG](/space/show?uid=229402) 哦哦ヾ(≧▽≦*)o
by Helenal @ 2019-09-23 13:19:29


上一页 |