彩笔
2022-10-03

快读模板A+b

stdin A+B

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
typedef long long ll;
using std::cout;
const char endl = '\n';

namespace sscio {
inline ll pull() {
ll sign = 1LL,res = 0LL;
char ch = getchar();
for (;!isdigit(ch);ch=getchar()) {
if (ch == '-') {
sign *= -1LL;
}
}
for (;isdigit(ch);ch = getchar()) {
res = (res << 3) + (res << 1) - '0' + ch; // *10
}
return sign * res;
}
}

void solve() {
ll n=sscio::pull();
ll p=sscio::pull();
cout << n + p << endl;
}

signed main() {
solve();
return 0 ^ 0;
}