提交记录 8437


用户 题目 状态 得分 用时 内存 语言 代码长度
ligen 1000i. 【传统题】 A+B Problem Accepted 100 55.11 us 36 KB C++ 2.01 KB
提交时间 评测时间
2019-02-17 10:38:02 2020-08-01 01:18:49
/***********************************************************
 *This code By @1353055672(Ligen)                          *
 *[Warning]You're not excepted to understand this code!    *
 *GDKOI STOI GDOI APIO CTSC NOIP 2019 RP++                 *
 ***********************************************************/
//#pragma GCC optimize(3)
//#pragma comment(linker, "/STACK:102400000,102400000")
#include<iostream>
#include<stdio.h>
#include<algorithm>
#include<cmath>
#include<cstring>
#include<queue>
#include<map>
#include<stack>
#include<set>
#include<bitset>
#include<ctime>
#include<vector>
#define ll long long
#define ull unsigned long long
#define mn 100020
#define Max(x,y) ((x>y)?x:y)
#define Min(x,y) ((x<y)?x:y)
#define Abs(x) ((x<0)?-x:x)
#define infll (ll)(1e18)
#define infint (int)(1<<30)
#define mod (int)(1e9+7)
#define FOR(a,b,c) for (register ll a=b;a<=c;a++)
#define FORD(a,b,c) for (register ll a=b;a>=c;a--)
using namespace std;
inline ll read(){
    ll x=0,f=1;char c;
    for(c=getchar();c<'0'||c>'9';f=((c=='-')?-1:f),c=getchar());
    for(;c>='0'&&c<='9';x=x*10+c-'0',c=getchar());return x*f;
}
inline void write(ll a){
    if(a==0){putchar('0');return;}if(a<0)putchar('-'),a=-a;char c1[120];int h=0;
    while(a)c1[++h]=a%10+'0',a/=10;FORD(i,h,1)putchar(c1[i]);
}
inline void write_(ll a){write(a);putchar(' ');}
inline void writeln(ll a){write(a);putchar('\n');}
inline ll gcd(ll a,ll b){return a==0?b:gcd(b%a,a);}
inline ll lcm(ll a,ll b){return 1ll*a/gcd(a,b)*b;}
inline ll Pow(ll n,ll a){ll b=1;while(a){if(a&1)b=1ll*b*n%mod;n=1ll*n*n%mod;a>>=1;}return b;}
//---------------------Head Files--------------------------//

int main(){
//    #ifndef ONLINE_JUDGE
//        freopen("1.in","r",stdin);
////		freopen("1.out","w",stdout);
//        long double be=clock();
//    #endif
    int a,b,t=read();
    while(t--){
    	a=read(),b=read();
    	writeln(a+b);
	}
//    #ifndef ONLINE_JUDGE
//        long double en=clock();
//        printf("Time: %.0Lfms",en-be);
//        fclose(stdin);fclose(stdout);
//    #endif
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #155.11 us36 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-06 18:35:34 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠