Need speed for big numbers? C++20 is your best option.

Revision en1, by Meron3r, 2024-11-03 17:17:29

I tested the same solution on a problem that needed summing up long longs.

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.

This is my Code

And this is the problem.

Tags c++, c++20, c++17, speed

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Meron3r 2024-11-03 17:17:29 1052 Initial revision (published)