摘要:
CodeForces 337A给出n、m(n#includeusingnamespacestd;intmain(){inta[60],n,m;cin>>n>>m;for(inti=0;i>a[i];sort(a,a+m);intmin=1005;for(inti=0;iusingnamespacestd;intgcd(intx,inty){intr;while(y!=0){r=x%y;x=y;y=r;}returnx;}intmain(){inta,b,c,d,temp;cin>>a>>b>>c>>d;a=a*d;c 阅读全文