long long minT = *min_element(times.begin(), times.end());
이 때 min_element는 <algorithm>에 존재하는 함수이며, 가장 작은 원소를 가리키는 iterator이다. 따라서 이 위치가 표시하는 값을 보려면 포인터를 사용해야 한다.
구조체 (struct) : 여러 개의 변수를 하나로 묶어서 관리할 수 있는 사용자 정의 데이터 타입
struct Date {
int year;
int month;
int day;
} yesterday, today, tomorrow; // 구조체 변수 선언과 동시에 생성
이 때, yesterday, today, tomorrow는 Date 타입의 객체이다.
::와 .:: : scope resolution operator. : 클래스 객체 뒤에 쓰인다.