#cpp
Read more stories on Hashnode
Articles with this tag
This is a blog recording little tricks I meet or use in C/C++. I will update this blog every time I meet a new trick. (If my memory is good enough to...
Recently, in my open-source project Num.NET, a problem puzzled me. The problem I abstract my code as below: define.h template<typename T> class...
I practice on Acwing and a problem stucked me. In fact, the problem is not so difficult as I imagined. Instead, it is an application of stack. The...
Problem: Line Covers There are n line segments on a coordinate axis. The coordinates of each endpoint of each line segment are integers. There may be...
Sometimes we want to wrap some methods in C++ because of its high performace at computation. However, it's more convenient for us to develop our...
In today's practice of dynamic programming, I met a problem called "Shortest Hamilton Path". In fact, the thought of state compression DP is not...