You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem 69 interactor: each round's pair is a fixed function of the round number, so a program that ignores every power scores 67 #212
test 1 : All 1000 answers valid. Total length = 7996, optimal = 11683787. Ratio: 0.672870160166
test 2 : All 1000 answers valid. Total length = 7987, optimal = 11683152. Ratio: 0.672880878631
...
test 10: All 1000 answers valid. Total length = 7915, optimal = 11675833. Ratio: 0.672965167357
Every test is accepted at 67.29 points. The six results in results/*-2026-10-17.csv score between 60.10 and 61.21 on this problem.
The words this program prints cannot be decoded. They have at most 9 letters, so a spell has at most 18 letters and its power is at most 18 * 19 / 2 = 171, while test 1 has 1,000,000 ordered pairs.
Suggested fix: draw the pairs from a per-test secret. Put a seed in each testdata/N.ans after the reference length and draw u and v from std::mt19937_64(seed), as problem 59 does since #211. I have a patch with tests and can open a PR.
Activity