I tested the same solution on a problem that needed summing up long long
s.
As you can see, both C++23 and C++17 ran in 154 ms and took up 100 KB. But C++20 is the best option here. That's why I use C++20 and recommend you do so too! If you agree, upvote, and if you don't, downvote.
And this is the problem.