摘要:
Prime LandTime Limit:1000MSMemory Limit:10000KTotal Submissions:2122Accepted:979DescriptionEverybody in the Prime Land is using a prime base ... 阅读全文
摘要:
A:该题写了很久,一直TLE,主要是枚举到n/2时间复杂度实在太高了,其实嘛,这道题就是因式分解,所以就是i*i=n,也就是sqrt(n)#include#includeint main(){ int n,T,i; int a,b; scanf("%d",&T); while... 阅读全文