Skip to content

Latest commit

Β 

History

History
19 lines (14 loc) Β· 220 Bytes

pair.md

File metadata and controls

19 lines (14 loc) Β· 220 Bytes

pair

#include<bits/stdc++.h>
using namespace std;

// μ„ μ–Έ
pair<int, int> p;
pair<int, int> p2 (1, 1);

// 생성
p = make_pair(1, 1);
p = {1, 1};

// 쑰회
int first = p.first;
int second = p.second;