結果

問題 No.1088 A+B Problem
ユーザー vjudge1
提出日時 2025-01-28 12:13:55
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 807 bytes
コンパイル時間 1,351 ms
コンパイル使用メモリ 160,552 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-28 12:13:59
合計ジャッジ時間 2,082 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define per(i, a, b) for (int i = a; i >= b; i--)
#define mkp make_pair
#define pll pair<ll, ll>
char *SSSS, *TTTT;
char pori[1 << 22];
#define gc() (SSSS == TTTT && (TTTT = (SSSS = pori) + fread(pori, 1, 1 << 22, stdin)), SSSS == TTTT ? EOF : *SSSS++)
using namespace std;
inline ll read()
{
    ll x = 0, f = 1;
    char ch = gc();
    while (ch < '0' || ch > '9')
    {
        if (ch == '-')
        {
            f = -1;
        }
        ch = gc();
    }
    while (ch >= '0' && ch <= '9')
    {
        x = (x << 1) + (x << 3) + ch - '0';
        ch = gc();
    }
    return x * f;
}
int main()
{
    ll a = read(), b = read();
    printf("%lld\n", a + b);
    return 0;
}
0