-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathabc.cpp
More file actions
41 lines (36 loc) · 702 Bytes
/
abc.cpp
File metadata and controls
41 lines (36 loc) · 702 Bytes
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
32
33
34
35
36
37
38
39
40
41
/*
Problem Name:
algorithm tag:
*/
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <unordered_map>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int INF = 0x3f3f3f3f;
const int mod = 1e9 + 7;
const double eps = 1e-4;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
//#define x first
//#define y second
#define iosf ios::sync_with_stdio(false), cin.tie(0), cout << fixed
int64_t foo(int32_t *lhs, int64_t *rhs)
{
*lhs = 10;
*rhs = 20;
return *lhs + *rhs;
}
int main()
{
int32_t a;
int64_t b;
cout << foo(&a, &b) << endl;
}