1 条题解
-
0
C++ :
#include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> #include <stack> #include <queue> #include <cmath> #include <string> #include <set> #include <map> #define maxn 0 using namespace std ; int main () { long long x, y ; while (scanf("%lld%lld", &x, &y) != EOF && (x||y)) { printf ("%lld\n", (x+y)/2) ; } return 0 ; }
- 1
信息
- ID
- 2897
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- 递交数
- 0
- 已通过
- 0
- 上传者