Competitive Programming
Competitive Programming
Learning C++
I came to realize that the most common language used in competitive programming is C++ due to its performance and its libraries. Therefore, I decided to learn C++ by reading diverse pages and practicing them through HackerRank Below are my solutions to the problems. Please feel free to suggest better solutions!!
C++ Practice
While attempting to solve a mathematical problem, I was required to find information from different permutations of numbers from $1$ through $n$. To avoid potential mistakes, I decided to write a snippet that will list all the possible permutations and print the total number of permutation listed.
While solving a math problem, I found myself being lazy to find prime factors and searching if a number is prime or not. Fortunately, I now can build my own calculator!! It should be able to handle bigger numbers than the ones in the web because it can handle at least 64 bits :))