김태오

Quick declaration of function 본문

Algorithm

Quick declaration of function

ystc1247 2023. 7. 21. 17:34
struct query {
	int s, e;
	lint t;
	int idx;
};

vector<query> quer;

sort(all(quer), [&](const query &a, const query &b) { return a.t < b.t; });

just for quick implementation in running custom sort algorithm - can be also used in other forms of implementing quick function

'Algorithm' 카테고리의 다른 글

handling big integers cpp  (0) 2023.07.22