Skip to content

File tree

1 file changed

+1
-1
lines changed
  • project_euler/problem_22

1 file changed

+1
-1
lines changed
 

‎project_euler/problem_22/sol1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
128128
for (i = 0; i < COUNT; i++)
129129
#endif
130130
{
131-
unsigned int score = 0;
131+
long score = 0;
132132
/* score the alphabets in i^th name */
133133
for (int j = 0; names[i][j] != '\0'; j++)
134134
score += names[i][j] - 'A' +

0 commit comments

Comments
 (0)
Please sign in to comment.