Finished 23, pretty darn slow and ugly solution
This commit is contained in:
@@ -2,6 +2,9 @@ import os
|
||||
import math
|
||||
import numpy as np
|
||||
|
||||
# Calculate the sum of all scores of the names in the textfile, where
|
||||
# the score is the product of the sorted position and
|
||||
# sum of alphabetic values of its letters
|
||||
|
||||
def charScore(c):
|
||||
assert len(c) == 1
|
||||
|
||||
Reference in New Issue
Block a user