80pt 求助(雾

P1001 A+B Problem

xie_lzh @ 2021-07-27 10:34:33

#include<bits/stdc++.h>
using namespace std;
int main(){
    long long a,b;
    cin>>a>>b;
    cout<<a+b;
    return 0;
}

RE了一个点


by Textbook_blasphemy @ 2021-07-27 10:35:28

sqlm


by _l_l_l_l_l_ @ 2021-07-27 10:37:36

@无名の蒟蒻 评测机抽风


by a1ioua @ 2021-07-27 10:38:33


by SunLegend @ 2021-07-27 10:40:12

洛谷测评鸡日常爆满


by makerlife @ 2021-07-27 10:40:57

你谷日爆


by xie_lzh @ 2021-07-27 10:42:58

违规自杀


by wweiyuzhao @ 2021-07-31 22:38:01

让我来!!!

#include<iostream>
#include<queue>
#include<stack>
#include<algorithm>
#include<cstring>
#include<cstdio>
#include<cmath>
using namespace std;
int a(int a,int b)
{
return a+b;
}
int main()
{
int n,m;
cout<<a(n,m);
return 0;
}

可能会错,因为这是我在回复手打出来的


by 王治言123456 @ 2021-08-03 10:54:42

@无名の蒟蒻: 我认为估计是long long出了问题(long long很占内存,你用int试试) AC代码:

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main()
{
   ios::sync_with_stdio(0);//去同步(加速)
   cin>>a>>b;
    cout<<a+b<<endl;
    return 0;
}

by UA70 @ 2021-08-03 20:40:46

lihai


by mizimo @ 2021-10-06 16:55:51

@wweiyuzhao 你的输入呢??


| 下一页