170 条题解
-
0
一道简单的入门测试题。
头文件
<iostream>
或<bits/stdc++.h>
均可。#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a+b; return 0; }
#include<bits/stdc++.h> using namespace std; int main() { int a,b; scanf("%d%d",&a,&b); printf("%d\n",a+b); return 0; }
信息
- ID
- 56
- 时间
- 1000ms
- 内存
- 1024MiB
- 难度
- 1
- 标签
- 递交数
- 10152
- 已通过
- 4586
- 上传者