where D - number of days spent
Z - number of castles captured
B - bonus for defeating all enemies (25 points) - however, if the map did not specify the condition "Defeat all enemies", this bonus will not be counted.
G - bonus for the Grail (25 points)
R - game difficulty coefficient (maximum - 2)
