首页
比赛
tracker
题库
课程
竞赛讨论区
登录
/
注册
去牛客
首页
>
牛牛的加法
5条解析
开通博客写题解
第一次当人
发表于 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(),
展开全文
查看本题
查看本题讨论
相关比赛
9667-牛客小白月赛30
进入比赛
26447-猿创工作窒蓝桥杯预赛
进入比赛
49585-私人
进入比赛
52040-河南农业大学2023春蓝桥杯赛前训练01
进入比赛
52228-河南农业大学2023春蓝桥杯赛前训练第一场
进入比赛
等你来战
查看全部
牛客周赛 Round 118
报名截止时间:2025-11-16 21:00
牛客2025秋季算法编程训练联赛6-基础组
报名截止时间:2025-11-19 21:00
牛客2025秋季算法编程训练联赛6-提升组
报名截止时间:2025-11-19 21:30
牛客练习赛146
报名截止时间:2025-11-21 21:30
牛客周赛 Round 119
报名截止时间:2025-11-23 21:00
第十七届北京信息科技大学程序设计竞赛(校外同步赛)
报名截止时间:2025-11-26 17:00
2026牛客寒假算法基础集训营1
报名截止时间:2026-02-03 18:00
扫描二维码,关注牛客
意见反馈
下载牛客APP,随时随地刷题