Commits

Shlomi Fish committed c96b691

Add the solution for Euler #79 (solved this one by hand.)

  • Participants
  • Parent commits 6c435e6

Comments (0)

Files changed (2)

project-euler/79/keylog.txt

+319
+680
+180
+690
+129
+620
+762
+689
+762
+318
+368
+710
+720
+710
+629
+168
+160
+689
+716
+731
+736
+729
+316
+729
+729
+710
+769
+290
+719
+680
+318
+389
+162
+289
+162
+718
+729
+319
+790
+680
+890
+362
+319
+760
+316
+729
+380
+319
+728
+716

project-euler/79/solution.txt

+0 always comes last, so it can safely be the last digit.
+
+So the number is XXXXXXXXXXXXXXX0.
+
+9 always comes last or before 0 so it can be the second-to-last digit. So
+the number is:
+
+So the number is XXXXXXXXXXXXX90
+
+Likewise for 8:
+
+XXXXXXXXXXXXXX890
+
+Likewise for 2:
+
+XXXXXXXXXXXX2890
+
+Repeat for 6:
+
+XXXXXXXXXX62890
+
+Repeat for 1:
+
+XXXXXXXXX162890
+
+Repeat for 3:
+
+XXXXXXXX3162890
+
+Only remaining one is 7:
+
+73162890