C++ codes for project euler problems. If some problems are tricky I will try to provide an explanation for them or link to some resource explaining it.
Goal is to find a solution but it may not be the most efficient one!
no | Problem name | status | Project Euler link |
---|---|---|---|
1 | Multiples of 3 or 5 | ✅ | link |
2 | Even Fibonacci Numbers | link | |
3 | Largest Prime Factor | link | |
4 | Largest Palindrome Product | link | |
5 | Smallest Multiple | link | |
6 | Sum Square Difference | ✅ | link |
7 | 10001st Prime | ✅ | link |
8 | Largest Product in a Series | link | |
9 | Special Pythagorean Triplet | link | |
10 | Summation of Primes | link | |
11 | Largest Product in a Grid | link | |
12 | Highly Divisible Triangular Number | link | |
13 | Large Sum | link | |
14 | Longest Collatz Sequence | link | |
15 | Lattice Paths | link | |
16 | Power Digit Sum | link | |
17 | Number Letter Counts | link | |
18 | Maximum Path Sum I | link | |
19 | Counting Sundays | link | |
20 | Factorial Digit Sum | link | |
21 | Amicable Numbers | link | |
22 | Names Scores | link | |
23 | Non-Abundant Sums | link | |
24 | Lexicographic Permutations | link | |
25 |
|
link | |
26 | Reciprocal Cycles | link | |
27 | Quadratic Primes | link | |
28 | Number Spiral Diagonals | link | |
29 | Distinct Powers | link | |
30 | Digit Fifth Powers | link | |
31 | Coin Sums | link | |
32 | Pandigital Products | link | |
33 | Digit Cancelling Fractions | link | |
34 | Digit Factorials | link | |
35 | Circular Primes | link | |
36 | Double-base Palindromes | link | |
37 | Truncatable Primes | link | |
38 | Pandigital Multiples | link | |
39 | Integer Right Triangles | link | |
40 | Champernowne's Constant | link | |
41 | Pandigital Prime | link | |
42 | Coded Triangle Numbers | link | |
43 | Sub-string Divisibility | link | |
44 | Pentagon Numbers | link | |
45 | Triangular, Pentagonal, and Hexagonal | link | |
46 | Goldbach's Other Conjecture | link | |
47 | Distinct Primes Factors | link | |
48 | Self Powers | link | |
49 | Prime Permutations | link | |
50 | Consecutive Prime Sum | link | |
51 | Prime Digit Replacements | link | |
52 | Permuted Multiples | link | |
53 | Combinatoric Selections | link | |
54 | Poker Hands | link | |
55 | Lychrel Numbers | link | |
56 | Powerful Digit Sum | link | |
57 | Square Root Convergents | link | |
58 | Spiral Primes | link | |
59 | XOR Decryption | link | |
60 | Prime Pair Sets | link | |
61 | Cyclical Figurate Numbers | link | |
62 | Cubic Permutations | link | |
63 | Powerful Digit Counts | link | |
64 | Odd Period Square Roots | link | |
65 | Convergents of |
link | |
66 | Diophantine Equation | link | |
67 | Maximum Path Sum II | link | |
68 | Magic 5-gon Ring | link | |
69 | Totient Maximum | link | |
70 | Totient Permutation | link | |
71 | Ordered Fractions | link | |
72 | Counting Fractions | link | |
73 | Counting Fractions in a Range | link | |
74 | Digit Factorial Chains | link | |
75 | Singular Integer Right Triangles | link | |
76 | Counting Summations | link | |
77 | Prime Summations | link | |
78 | Coin Partitions | link | |
79 | Passcode Derivation | link | |
80 | Square Root Digital Expansion | link | |
81 | Path Sum: Two Ways | link | |
82 | Path Sum: Three Ways | link | |
83 | Path Sum: Four Ways | link | |
84 | Monopoly Odds | link | |
85 | Counting Rectangles | link | |
86 | Cuboid Route | link | |
87 | Prime Power Triples | link | |
88 | Product-sum Numbers | link | |
89 | Roman Numerals | link | |
90 | Cube Digit Pairs | link | |
91 | Right Triangles with Integer Coordinates | link | |
92 | Square Digit Chains | link | |
93 | Arithmetic Expressions | link | |
94 | Almost Equilateral Triangles | link | |
95 | Amicable Chains | link | |
96 | Su Doku | link | |
97 | Large Non-Mersenne Prime | link | |
98 | Anagramic Squares | link | |
99 | Largest Exponential | link | |
100 | Arranged Probability | link |
Refer to this README file for instructions on how to generate this table using a script for as many problems as you want!