06 2021 档案
摘要:#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int L=110; int sub(int *a,int *b,int La,int Lb) { if(La<Lb) return
阅读全文
摘要:#include <iostream> #include <string> using namespace std; /* 请在这里填写答案 */ class BigInteger{ protected: int a[3005]; int count; public: BigInteger(){ f
阅读全文
摘要:int t1 = a.m * b.m; int t2 = a.z * b.m + b.z * a.m; for(int i = 2;i <= max(t1,t2);i ++){ if(t1 % i == 0 && t2 % i == 0){ t1 /= i; t2 /=i; i = 2; } }
阅读全文