Skip to content

Commit 2da95b6

Browse files
My C++ Template
1 parent 9f97728 commit 2da95b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cppTemplate.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ bool compare(T x, T y)
4040
return x > y ? true : false;
4141
}
4242

43+
bool pair_Compare(const pair<int, int>&a, const pair<int, int>&b)
44+
{
45+
return a.second < b.second;
46+
}
47+
4348
int main()
4449
{
4550

0 commit comments

Comments
 (0)