Step 1: ask Yukari for a proof for P=NP (or the inverse).
Step 2: hand it in for the million dollar reward,
Step 3: use portion of profits to bribe Reimu for more questions
Hopefully the former would be pleasantly surprised enough that someone would ask a math/computational complexity theory question, rather than ones about magic, Gensokyo, or how her hair fits into her cap, to answer it honestly and helpfully.
That, or how 2 hermit