摘要:
#includeusing namespace std;__int64 f(__int64 a,__int64 b){ __int64 t; __int64 sum=a*b; if(a<b) { t=a; a=b; b=t; } while(b) { t=a%b; a=b; b=t; } return sum/a;}int main(){ int t,n; __int64 x; __int64 lcm; scanf("%d",&t); while(t--) { scanf("%d",&n); scanf("%I64d&qu 阅读全文
摘要:
#includeusingnamespacestd;voidarray2(floatarr[][4],intn){floatmax,min,sum;inti,j;for(i=0;iarr[i][j])min=arr[i][j];}cout<<max<<"";cout<<min<<"";cout<<sum<<"";cout<<sum/4<<endl;}} 阅读全文