Commit Graph

17 Commits

Author SHA1 Message Date
jonah c276a5a45b add challenge scripts 2025-09-16 21:47:44 +02:00
jonah 3556025849 [03_are_you_still_doing_this_by_hand] improve performance by precomputing giant steps 2025-09-16 21:47:42 +02:00
jonah cb876e7427 [08_revisit_everything] fully automate the button 2025-09-16 21:47:41 +02:00
jonah 5e37cfe883 [08_revisit_everything] add solution
Luckily M[30] is easily factorable as it is almost a perfect square.
2025-09-16 21:47:40 +02:00
jonah b2e43654c1 [08_revisit_everything] automate solution of challenges one through seven 2025-09-16 21:47:38 +02:00
jonah d54dfc15ec [08_revisit_everything] add initial implementation 2025-09-16 21:47:37 +02:00
jonah f8563d118c [07_weird_assembly_machine] add solution
This solution takes advantage of the fact that fg is linear in terms of add and sub. The main loop consists of repeated application of fg and subtraction of n. Reordering this expression results in a subtraction between a power of fg applied to x and the sum of powers of fg applied to k successive values. Powers of fg can be computed quickly as fg^64 = id and the sum of powers of fg applied to successive values happens to show a pattern every 192 terms.
2025-09-16 21:47:36 +02:00
jonah 3dbf23547a [07_weird_assembly_machine] reorder main loop to make use of a faster implementation of f(g(x)) 2025-09-16 21:47:34 +02:00
jonah 521d25689a [07_weird_assembly_machine] refactor code 2025-09-16 21:47:33 +02:00
jonah a499dd2629 [07_weird_assembly_machine] add a faster implementation of func0 2025-09-16 21:47:06 +02:00
jonah 6dbaffdd28 [07_weird_assembly_machine] replace i64 with u64 2025-09-16 21:18:24 +02:00
jonah 0416261f09 [07_weird_assembly_machine] add submission logic and deobfuscate code 2025-09-16 21:18:22 +02:00
jonah 6ed1c9b6ae [07_weird_assembly_machine] replace byte array with i64 array 2025-09-16 21:18:21 +02:00
jonah 12f3120b29 [07_weird_assembly_machine] add initial translation from webassembly to rust 2025-09-16 21:18:20 +02:00
jonah 04ac13c45d [06_automation_is_not_enough] add solution 2025-09-16 21:18:16 +02:00
jonah 83dacf81c5 [05_what_the_bf] add solution 2025-09-16 21:18:02 +02:00
jonah 6babd63c0a initial commit
This commit adds basic logic for submitting solutions to the server.
2025-09-16 21:17:57 +02:00