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 阅读全文
posted @ 2021-06-25 10:32 Xuuxxi 阅读(64) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <string> using namespace std; /* 请在这里填写答案 */ class BigInteger{ protected: int a[3005]; int count; public: BigInteger(){ f 阅读全文
posted @ 2021-06-25 10:27 Xuuxxi 阅读(36) 评论(0) 推荐(0) 编辑
摘要: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; } } 阅读全文
posted @ 2021-06-03 17:24 Xuuxxi 阅读(37) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示