码迷,mamicode.com
首页 > 移动开发 > 详细

【小米oj】A + B

时间:2019-05-05 19:29:35      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:namespace   for   color   turn   std   pair   its   cout   stdout   

 1 #define mm(a) memset(a,0,sizeof(a));
 2 #define max(x,y) (x)>(y)?(x):(y)
 3 #define min(x,y) (x)<(y)?(x):(y)
 4 #define Fopen freopen("1.in","r",stdin); freopen("m.out","w",stdout);
 5 #define rep(i,a,b) for(int i=(a);i<=(b);i++)
 6 #define per(i,b,a) for(int i=(b);i>=(a);i--)
 7 #include<bits/stdc++.h>
 8 typedef long long ll;
 9 #define PII pair<ll,ll>
10 using namespace std;
11 const int INF=0x3f3f3f3f;
12 const int MAXN=(int)1e5 + 5;
13 
14 ll a,b;
15 int main() {
16     while(cin>>a>>b)cout<<a+b<<endl;
17     return 0;
18 }

 

【小米oj】A + B

标签:namespace   for   color   turn   std   pair   its   cout   stdout   

原文地址:https://www.cnblogs.com/dogenya/p/10815565.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!