Reference & Heuristic Solutions for Problem D2: INDEX (n <= 100,000, a_i <= 100,000)
Legend: . = AC, W = Wrong Answer, T = Time Limit Exceeded, R = Runtime Error

Solution                             Score   ST1   ST2   MaxT    Per-test (01..07 | 08..18)
-------------------------------------------------------------------------------------------
sol_01_optimal_formula.cpp           18/18   7/7   11/11 0.011s  ....... | ...........
sol_02_optimal_prefix_suffix.cpp     18/18   7/7   11/11 0.011s  ....... | ...........
heur_01_always_minus1.cpp             6/18   2/7    4/11 0.003s  WW.WWW. | WWWW.W..WW.
heur_02_always_zero.cpp               4/18   2/7    2/11 0.003s  ..WWWWW | .W.WWWWWWWW
heur_03_unweighted_pivot.cpp         10/18   3/7    7/11 0.010s  ..WWWW. | ...W.W..WW.
heur_04_truncated_div.cpp            12/18   5/7    7/11 0.009s  ..W...W | ....W.WW..W
heur_05_no_zero_guard.cpp            16/18   6/7   10/11 0.009s  .R..... | ..R........
heur_06_last_index.cpp               16/18   6/7   10/11 0.010s  .W..... | ..W........
heur_07_int32_overflow.cpp           12/18   6/7    6/11 0.011s  .....W. | .W.W.W..WW.
heur_08_int32_mul_bug.cpp            13/18   6/7    7/11 0.010s  .....W. | .W.W....WW.
heur_09_double_eps.cpp               15/18   6/7    9/11 0.020s  ......W | ......WW...
heur_10_on2_early_exit.cpp            7/18   5/7    2/11 0.250s  .....TT | .T.TTTTTTTT
heur_11_midpoint_window.cpp          12/18   7/7    5/11 0.011s  ....... | WWWW.W..W..
heur_12_unweighted_median_window.cpp 16/18   7/7    9/11 0.011s  ....... | ...W.W.....
heur_13_skip_nonzero_at_ans.cpp      10/18   4/7    6/11 0.011s  W..WW.. | WW.W....WW.
heur_14_fixed_array_33000.cpp         7/18   7/7    0/11 0.005s  ....... | RRRRRRRRRRR
