[C/C++] Project Euler #42 - Coded Triangle Numbers
Project Euler #42 - Coded Triangle NumbersThis problem does not require a complex algorithm.As a result, its difficulty level is only 5%.The alphabetical value of a word is defined as follows:Each letter is assigned a value (A=1, B=2, C=3, …, Z=26), and the word’s alphabetical value is the sum of these values.For example, the word “SKY” has values S=19, K=11, Y=25, so its alphabetical value is 1..