static double ai_solveQuestionInSubSpace_defautTimeOut = 60; static S ai_solveQuestionInSubSpace(T3 seed, T3 lookingFor) { ret ai_solveQuestionInSubSpace(ll(seed), ll(lookingFor), ai_solveQuestionInSubSpace_defautTimeOut); } static S ai_solveQuestionInSubSpace(final T3 seed, final T3 lookingFor, double maxSeconds) { ret (S) eitherAOpt(evalWithTimeout(maxSeconds, func { ai_solveQuestionInSubSpace_noTimeOut(ll(seed), ll(lookingFor)) })); } static S ai_solveQuestionInSubSpace(S q) { Pair>> p = ai_solveQuestion_seedAndLookingFor(q); ret ai_solveQuestionInSubSpace(p.a, p.b); }