diff options
Diffstat (limited to 'day25.py')
-rw-r--r-- | day25.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/day25.py b/day25.py new file mode 100644 index 0000000..aa1c81c --- /dev/null +++ b/day25.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +pos_row, pos_col = 1, 1 +target_row, target_col = 2978, 3083 + +curr = 20151125 + +for i in range(sum(range(target_row + target_col - 1)) + target_col - 1): + curr = (curr * 252533) % 33554393 +print(curr) |