首页 > 牛牛的加法
头像 第一次当人
发表于 2020-12-05 23:09:02
E 模拟 B站讲解https://www.bilibili.com/video/BV1GT4y1M78d?p=3 #include<bits/stdc++.h> using namespace std; typedef long long ll; //typedef __int128 I 展开全文
头像 Doran_dinosaur
发表于 2020-12-07 14:00:34
E-牛牛的加法 模拟加法运算,需要进1的时候,不进位 注意去掉前导0 代码如下: #include<bits/stdc++.h> using namespace std; #define mm(a,x) memset(a,x,sizeof a) #define mk make 展开全文
头像 玄骨
发表于 2025-10-31 15:06:40
#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); string a; string b; cin> 展开全文
头像 365cent
发表于 2025-10-31 17:43:18
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char *A=NULL,*B=NULL,*rev; size_t n=0,m=0; size 展开全文
头像 Ke_scholar
发表于 2025-10-31 20:04:07
#include <iostream> using namespace std; int main() { std::string a, b; std::cin >> a >> b; int n = std::max(a.size(), 展开全文