shenandy1 @ 2023-06-09 15:34:29
#include<bits/stdc++h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
0分 ,求大佬改bug。
by Kedit2007 @ 2023-06-09 15:38:05
头文件少了一个点,应为 bits/stdc++.h
by LGCat_ERR @ 2023-06-09 15:58:53
哪个题??
by _yzy_ @ 2023-06-11 09:49:31
@shenandy1 头文件错了,应该是
#include<bits/stdc++.h>
by Zhangxinchang_ @ 2023-06-12 17:10:14
@shenandy1 老六 以后仔细“点”
by FIGFUH001 @ 2023-06-12 19:24:43
少了个点
by GZClark @ 2023-06-12 21:55:51
@shenandy1 你头文件用#include <iostream>也可以
by heli025000 @ 2023-06-14 12:46:16
头文件;#include<bits/stdc++.h>
by z_18n9di92n @ 2023-06-24 14:56:42
少了个点
by _f_z_ @ 2023-06-29 22:05:29
万能头:
#include<bits/stdc++.h>
开头:
#include<bits/stdc++.h>
using namespace std;
int main(){
}
给新手宝宝~~太逊了~~教学一下后面的内容·-·
程序内容:
1.创建整数变量:a,b:
int a,b;
2.输入数值给到整数变量a、b里面:
cin >> a >> b;
3.输出a+b的和:
cout << a+b;
完整代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin >> a >> b;
cout << a+b;
}
所以也是非常的简单~
散会!
by jdls2011 @ 2023-07-06 15:56:13
头文件为#include<bits/stdc++.h>